Merge pull request #406 from gummif/gfa/rfc-mme

Problem: Missing reference to rfc
This commit is contained in:
Simon Giesecke 2020-04-25 12:54:37 +02:00 committed by GitHub
commit 3746e5c2d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,8 @@ send_multipart(socket_ref s, Range &&msgs, send_flags flags = send_flags::none)
can not fit in an unsigned 32 bit integer. can not fit in an unsigned 32 bit integer.
The encoding is compatible with that used by the CZMQ function The encoding is compatible with that used by the CZMQ function
zmsg_encode(). Each part consists of a size followed by the data. zmsg_encode(), see https://rfc.zeromq.org/spec/50/.
Each part consists of a size followed by the data.
These are placed contiguously into the output message. A part of These are placed contiguously into the output message. A part of
size less than 255 bytes will have a single byte size value. size less than 255 bytes will have a single byte size value.
Larger parts will have a five byte size value with the first byte Larger parts will have a five byte size value with the first byte
@ -241,7 +242,7 @@ message_t encode(const Range &parts)
lead to exceeding the message data bounds. lead to exceeding the message data bounds.
The decoding assumes the message is encoded in the manner The decoding assumes the message is encoded in the manner
performed by zmq::encode(). performed by zmq::encode(), see https://rfc.zeromq.org/spec/50/.
*/ */
template<class OutputIt> OutputIt decode(const message_t &encoded, OutputIt out) template<class OutputIt> OutputIt decode(const message_t &encoded, OutputIt out)
{ {