>byte-array ( seq -- byte-array )
Factor handbook » The language » Collections » Byte arrays

Prev:byte-array? ( object -- ? )
Next:<byte-array> ( n -- byte-array )


Vocabulary
byte-arrays

Inputs
seqa sequence


Outputs
byte-arraya byte-array


Word description
Outputs a freshly-allocated byte array whose elements have the same signed byte values as a given sequence.

Errors
Throws an error if the sequence contains elements other than integers.

Definition