>msgpack ( obj -- bytes ) - Factor Documentation

>msgpack ( obj -- bytes )
MessagePack



Vocabulary
msgpack

Inputs
obj an object


Outputs
bytes a byte-array


Word description
Encodes an object into the MessagePack format.

Definition
USING: io.encodings.binary io.streams.byte-array ;

IN: msgpack

: >msgpack ( obj -- bytes )
binary [ write-msgpack ] with-byte-writer ;

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