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.138 -- Release Build+d320e0a63cabbd50e5d712783a511f5687755b05
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