(byte-array) ( n -- byte-array ) (original) (raw)

(byte-array) ( n -- 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{ 103 189 48 }

Word description
Creates a new byte-array of length n bytes, with the elements containing unspecified values.

See also

Definition

IN: byte-arrays

PRIMITIVE: (byte-array) ( n -- byte-array ) flushable