JGR MSTS Editors and Tools
GetBytes Method (chars, charIndex, charCount, bytes, byteIndex)
NamespacesJgr.IOByteEncodingGetBytes(array<Char>[]()[][], Int32, Int32, array<Byte>[]()[][], Int32)

[This is preliminary documentation and is subject to change.]

Encodes a set of characters from the specified character array into the specified byte array.
Declaration Syntax
C#Visual BasicVisual C++
public override int GetBytes(
	char[] chars,
	int charIndex,
	int charCount,
	byte[] bytes,
	int byteIndex
)
Public Overrides Function GetBytes ( _
	chars As Char(), _
	charIndex As Integer, _
	charCount As Integer, _
	bytes As Byte(), _
	byteIndex As Integer _
) As Integer
public:
virtual int GetBytes(
	array<wchar_t>^ chars, 
	int charIndex, 
	int charCount, 
	array<unsigned char>^ bytes, 
	int byteIndex
) override
Parameters
chars (array<Char>[]()[][])
The character array containing the set of characters to encode.
charIndex (Int32)
The index of the first character to encode.
charCount (Int32)
The number of characters to encode.
bytes (array<Byte>[]()[][])
The byte array to contain the resulting sequence of bytes.
byteIndex (Int32)
The index at which to start writing the resulting sequence of bytes.
Return Value
The actual number of bytes written into bytes.

Assembly: JGR.IO (Module: JGR.IO) Version: 0.5.4008.31681