ConfigurationCell3DecodeLengthPrefixedString Method
Decodes a length-prefixed string. Length size is one byte per IEEE C37.118-2011 specification.
Namespace: Gemstone.PhasorProtocols.IEEEC37_118Assembly: Gemstone.PhasorProtocols (in Gemstone.PhasorProtocols.dll) Version: 1.0.128 -- Release Build+dd7f32701ba80de4d5b0557e84e0ddc18a34573f
public static string DecodeLengthPrefixedString(
byte[] buffer,
ref int offset
)
Public Shared Function DecodeLengthPrefixedString (
buffer As Byte(),
ByRef offset As Integer
) As String
Gemstone.PhasorProtocols.IEEEC37_118.ConfigurationCell3.DecodeLengthPrefixedString = function(buffer, offset);
- buffer Byte
- Source buffer.
- offset Int32
- Source buffer offset. Value is auto-incremented.
StringDecoded string from bytes encoded in
buffer.