package msgpck
Fast MessagePack (http://msgpack.org) library
Install
Dune Dependency
Authors
Maintainers
Sources
msgpck-v1.7.tbz
sha256=ff7065bf590af502a1b1622ff3b5280805c122033d68cf6b53da32c31ecb5f5d
sha512=7d71baa9614f890f669bb52181a295e51d6735ab9786fd7bc69c123721f801232a314ec98b8e59ccf8d2c1541f8fcc084ebf1d47189fd45632621c4a246d0368
doc/msgpck/Msgpck/StringBuf/index.html
Module Msgpck.StringBuf
Source
MessagePack library decoding from strings and writing in Buffers.
Type of input buffer (where MessagePack data will be read)
read ?pos buf
is (nb_read, t)
, where nb_read
is the number of bytes read from buf
at pos ?pos
, and t
is the decoded MessagePack value.
@raise
Invalid_argument "msg" when there is no valid MessagePack value to be read from buf
at position pos
.
read_all ?pos buf
reads all messages found in buf
.
@raise
Invalid_argument "msg" when there is no valid MessagePack value to be read from buf
at position pos
.
write ?pos buf msg
is nb_written
, the number of bytes written on buf
at position ?pos
. The serialization of msg
have been written to buf
starting at ?pos
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>