Code: Select all
ByteArray←{
⎕IO←0 ⋄ ⎕USING←''
ba←System.Array.CreateInstance(System.Byte)(≢⍵)
ba[⍳≢⍵]←⍵
ba
}
Code: Select all
ByteArray←{
⎕IO←0 ⋄ ⎕USING←''
ba←System.Array.CreateInstance(System.Byte)(≢⍵)
ba[⍳≢⍵]←⍵
ba
}