msgpack> ( seq -- obj ) - Factor Documentation

msgpack> ( seq -- obj )
MessagePack



Vocabulary
msgpack

Inputs
seq a sequence


Outputs
obj an object


Word description
Decodes an object from the MessagePack format, represented as a byte-array or string .

Definition
IN: msgpack

GENERIC: msgpack> ( seq -- obj )


Methods
USING: byte-arrays io.encodings.binary io.streams.byte-array
msgpack ;

M: byte-array msgpack>
binary [ read-msgpack ] with-byte-reader ;


USING: io.streams.string msgpack strings ;

M: string msgpack> [ read-msgpack ] with-string-reader ;

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