StringConversionConvertFromFixedLength Method (DataArrayByte, Int32, Int32) |
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(
DataArray<byte> bytes,
int index,
int numBytes
)
Parameters
- bytes
- Type: Demo3D.PLC.CommsDataArrayByte
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'.
Return Value
Type:
StringString representation.
See Also