Decodes the input char sequence into the output byte sequence. Before calling this method, ensure that the output ByteBuffer has sufficient capacity by calling {@link #GetDecodedLength(java.nio.CharBuffer)}.
is not backed by an array

Namespace: Lucene.Net.Util
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static void Decode(
	List<char> input,
	List<byte> output
)
Visual Basic
Public Shared Sub Decode ( _
	input As List(Of Char), _
	output As List(Of Byte) _
)
Visual C++
public:
static void Decode(
	List<wchar_t>^ input, 
	List<unsigned char>^ output
)

Parameters

input
Type: System.Collections.Generic..::..List<(Of <(<'Char>)>)>
The char sequence to decode
output
Type: System.Collections.Generic..::..List<(Of <(<'Byte>)>)>
Where the byte sequence decoding result will go. The limit is set to one past the position of the final char.

See Also