Handbook
Glossary
<byte-vector> ( n -- byte-vector )
Factor handbook
»
The language
»
Collections
»
Byte vectors
Prev:
>byte-vector ( seq -- byte-vector )
Next:
BV{
Vocabulary
byte-vectors
Inputs
n
a positive integer specifying initial capacity
Outputs
byte-vector
a
byte-vector
Word description
Creates a new byte vector that can hold
n
bytes before resizing.
Definition
USING:
byte-arrays
kernel
;
IN:
byte-vectors
:
<byte-vector>
( n -- byte-vector )
(byte-array)
0
byte-vector
boa
;
inline