Encodes the input byte sequence into the output char sequence. Before calling this method, ensure that the output CharBuffer has sufficient capacity by calling {@link #GetEncodedLength(java.nio.ByteBuffer)}.
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 Encode(
	List<byte> input,
	List<char> output
)
Visual Basic
Public Shared Sub Encode ( _
	input As List(Of Byte), _
	output As List(Of Char) _
)
Visual C++
public:
static void Encode(
	List<unsigned char>^ input, 
	List<wchar_t>^ output
)

Parameters

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

See Also