?read-msgpack ( -- obj/f ? ) - Factor Documentation

?read-msgpack ( -- obj/f ? )
MessagePack



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* ;

AltStyle によって変換されたページ (->オリジナル) /