Handbook
Glossary
?read-msgpack ( -- obj/f ? )
MessagePack
Prev:
read-msgpack ( -- obj )
Next:
read-msgpacks ( -- objs )
Vocabulary
msgpack
Inputs
None
Outputs
obj/f
an
object
?
a
boolean
Word description
Reads the next byte from an
input-stream
and if not EOF, decodes an object that was serialized in the MessagePack format.
Definition
USING:
io
kernel
msgpack.private
;
IN:
msgpack
:
?read-msgpack
( -- obj/f ? )
read1
[
(read-msgpack)
t
]
[
f
f
]
if*
;