|
ConfigurationCell3EncodeLengthPrefixedString(String, Byte, Int32) Method
|
Encodes a length-prefixed string. Length size is one byte per IEEE C37.118-2011 specification.
Namespace: GSF.PhasorProtocols.IEEEC37_118Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.205-beta
Syntax public static int EncodeLengthPrefixedString(
string value,
byte[] buffer,
int offset
)
static member EncodeLengthPrefixedString :
value : string *
buffer : byte[] *
offset : int -> int
GSF.PhasorProtocols.IEEEC37_118.ConfigurationCell3.EncodeLengthPrefixedString = function(value, buffer, offset);
View SourceParameters
- value String
- String value to encode using UTF-8 encoding..
- buffer Byte
- Target buffer.
- offset Int32
- Target buffer offset.
Return Value
Int32Total number of encoded bytes copied into
buffer.
See Also