Difference between revisions of "GSNet String"

From BRL-CAD
(Update table styling)
(Adjust table width)
Line 9: Line 9:
 
{|style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #666699; padding: 0;"
 
{|style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: #666699; padding: 0;"
 
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 180px;"|'''Element'''
 
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 180px;"|'''Element'''
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 180px;"|'''Length'''
+
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 230px;"|'''Length'''
 
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 180px;"|'''Default Value'''
 
|style="border: 1px solid #666699; background-color: #666699; color: #FFFFFF; width: 180px;"|'''Default Value'''
 
|-
 
|-

Revision as of 13:57, 26 January 2011


Description

A commonly used data type in the GSNet Protocol. Contains a 4 byte Length field followed by a Unicode string of length Length

Fields

Element Length Default Value
Length uint32 (4 bytes) none
16bit char array uint16[] (2 bytes * Length) none