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.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
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