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

Prev:>byte-array ( seq -- byte-array )
Next:1byte-array ( x -- byte-array )


Vocabulary
byte-arrays

Inputs
na non-negative integer


Outputs
byte-arraya byte-array


Examples
USING: byte-arrays prettyprint ; 3 <byte-array> .
B{ 0 0 0 }


Word description
Creates a new byte-array of length n bytes, with the elements all initialized to zero.

See also
(byte-array)

Definition