Handbook
Glossary
bare> ( encoded schema -- obj )
Binary Application Record Encoding (BARE)
Prev:
read-bare ( schema -- obj )
Next:
write-bare ( obj schema -- )
Vocabulary
bare
Inputs
encoded
a
byte-array
schema
schema
Outputs
obj
an
object
Word description
Decodes an object that was serialized in the BARE format using
schema
, reading from a
byte-array
.
Definition
USING:
io.encodings.binary
io.streams.byte-array
kernel
;
IN:
bare
:
bare>
( encoded schema -- obj )
swap
binary
[
read-bare
]
with-byte-reader
;