Handbook
Glossary
>bare ( obj schema -- encoded )
Binary Application Record Encoding (BARE)
Prev:
write-bare ( obj schema -- )
Next:
parse-schema ( string -- schema )
Vocabulary
bare
Inputs
obj
an
object
schema
schema
Outputs
encoded
a
byte-array
Word description
Encodes an object into the BARE format using
schema
.
Definition
USING:
io.encodings.binary
io.streams.byte-array
;
IN:
bare
:
>bare
( obj schema -- encoded )
binary
[
write-bare
]
with-byte-writer
;