Handbook
Glossary
read* ( n -- bytes )
Vocabulary
tools
.
image
Inputs
n
an
integer
Outputs
bytes
a
byte-array
Word description
read n bytes, return empty byte array if n equals 0
Definition
USING:
byte-arrays
io
kernel
;
IN:
tools.image
:
read*
( n -- bytes )
dup
read
[
B{
}
clone
]
unless*
resize-byte-array
;
inline