StringConversionConvertFromFixedLength Method (Byte, Int32, Int32, StringConversionGetString) |
Convert an array of bytes to a fixed length string.
Namespace:
Demo3D.PLC
Assembly:
PLC (in PLC.dll) Version: 15.0.2.11458
Syntaxpublic static string ConvertFromFixedLength(
byte[] bytes,
int index,
int numBytes,
StringConversionGetString encoding
)
Parameters
- bytes
- Type: SystemByte
Array of bytes to decode. - index
- Type: SystemInt32
Index into bytes of first encoded byte. - numBytes
- Type: SystemInt32
Maximum number of bytes to decode from 'bytes'. - encoding
- Type: Demo3D.PLCStringConversionGetString
String converter.
Return Value
Type:
StringString representation.
See Also