The Assimilation Project
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
C-Class C-string wire format

Here is the format we use for packaging a NUL-terminated C-style string (CstringFrame class) for the wire. More...

Collaboration diagram for C-Class C-string wire format:

Here is the format we use for packaging a NUL-terminated C-style string (CstringFrame class) for the wire.

+----------—+-------------—+---------------—+---------—+
| frametype   |    f_length    |    String Data   |  NUL char  |
|  16 bits)   |    (16-bits)   | f_length-1 bytes |  (1 byte)  |
+----------—+-------------—+---------------—+---------—+