Handbook
Glossary
<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
n
a non-negative integer
Outputs
byte-array
a
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
IN:
byte-arrays
PRIMITIVE:
<byte-array>
( n -- byte-array )
flushable