Click or drag to resize

StringConversionGetBytes Delegate

A delegate for encoding a string into an array of bytes.

Namespace: Demo3D.PLC
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public delegate int GetBytes(
	string s,
	int charIndex,
	int charCount,
	byte[] bytes,
	int byteIndex
)

Parameters

s  String
The string to convert.
charIndex  Int32
The index of the first character in the string to convert.
charCount  Int32
The number of characters in the string to convert.
bytes  Byte
The byte array to populate with string data.
byteIndex  Int32
The index into the byte array.

Return Value

Int32
The number of bytes written to the array.
See Also