StringConversionGetBytes Delegate |
A delegate for encoding a string into an array of bytes.
Namespace:
Demo3D.PLC
Assembly:
PLC (in PLC.dll) Version: 15.0.2.11458
Syntaxpublic delegate int GetBytes(
string s,
int charIndex,
int charCount,
byte[] bytes,
int byteIndex
)
Parameters
- s
- Type: SystemString
The string to convert. - charIndex
- Type: SystemInt32
The index of the first character in the string to convert. - charCount
- Type: SystemInt32
The number of characters in the string to convert. - bytes
- Type: SystemByte
The byte array to populate with string data. - byteIndex
- Type: SystemInt32
The index into the byte array.
Return Value
Type:
Int32The number of bytes written to the array.
See Also