>byte-vector ( seq -- byte-vector )
Factor handbook » The language » Collections » Byte vectors

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


Vocabulary
byte-vectors

Inputs
seqa sequence


Outputs
byte-vectora byte-vector


Word description
Outputs a freshly-allocated byte vector with the same elements as a given sequence.

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

Definition