Handbook
Glossary
>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
seq
a
sequence
Outputs
byte-array
a
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
USING:
sequences
;
IN:
byte-arrays
:
>byte-array
( seq -- byte-array )
B{
}
clone-like
;
inline