LBM .Net API Documentation
format Method (buf, offset, v, len_size)
Namespacescom.latencybusters.lbm.sdmLBMSDMFieldStringformat(array<Byte>[]()[], Int32, String, Int32)
Format a raw string in to a byte buffer specifying the size of the length field. This is because strings can be limited to 255 bytes for names. String fields can be longer than 255 characters.
Declaration Syntax
C#
protected internal static int format(
	byte[] buf,
	int offset,
	string v,
	int len_size
)
Parameters
buf (array< Byte >[]()[])
The byte buffer to have the string formatted in
offset (Int32)
The offset to begin formatting in the buffer
v (String)
The string to be formatted
len_size (Int32)
This specifies the size of the length field to be formatted and should be 1 or 4
Return Value
The updated offset after formatting (points to an unused offset)

Assembly: lbmcssdm (Module: lbmcssdm) Version: 6.7.1.0