ConfigurationCell3DecodeLengthPrefixedString Method

Decodes a length-prefixed string. Length size is one byte per IEEE C37.118-2011 specification.

Definition

Namespace: Gemstone.PhasorProtocols.IEEEC37_118
Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.150 -- Release Build+0627019d4c17e2f915e64987b3f2371651facacb
public static string DecodeLengthPrefixedString(
	byte[] buffer,
	ref int offset
)

Parameters

buffer  Byte
Source buffer.
offset  Int32
Source buffer offset. Value is auto-incremented.

Return Value

String
Decoded string from bytes encoded in buffer.

See Also