Description Usage Arguments Details Value
Make a message header
1 | make_header(opCode, messageLength)
|
opCode |
the operation code for this message |
messageLength |
the length of message (sans header), in bytes |
All messages to and from Mongo begin with a header of the form:
int32 - total length of the message int32 - a request ID, which is randomly generated int32 - the request ID of message to which this is responding (not applicable to any messages sent to mongo) int32 - the operation code, which encodes the message type
a raw vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.