GSNet String

From BRL-CAD
Revision as of 16:25, 28 March 2011 by Erik (talk | contribs) (mention lack of terminating NULL)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

A commonly used data type in the GSNet Protocol. Contains a 4 byte Length field followed by an ascii string of length Length. There is no terminating NULL.

Fields

Element Length Default Value
Length uint32 (4 bytes) none
8bit char array uint8[] none