ConfigurationCell3EncodeLengthPrefixedString(String, Byte, Int32) Method
Encodes 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 int EncodeLengthPrefixedString(
string value,
byte[] buffer,
int offset
)
Gemstone.PhasorProtocols.IEEEC37_118.ConfigurationCell3.EncodeLengthPrefixedString = function(value, buffer, offset);
- value String
- String value to encode using UTF-8 encoding..
- buffer Byte
- Target buffer.
- offset Int32
- Target buffer offset.
Int32Total number of encoded bytes copied into
buffer.