2.2.3.3 Message Frame Structure

The message body consists of a message frame structure followed by the message content. The protocol allows writing all of the message content in a single chunk after the message frame or as multiple chunks that appear contiguously after the message frame. Each chunk is prefixed by the length of the chunk and the last chunk as a length of 0 bytes.<24>