Returns the number of chars required to encode the given byte sequence.

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

Syntax

C#
public static int GetEncodedLength(
	List<byte> original
)
Visual Basic
Public Shared Function GetEncodedLength ( _
	original As List(Of Byte) _
) As Integer
Visual C++
public:
static int GetEncodedLength(
	List<unsigned char>^ original
)

Parameters

original
Type: System.Collections.Generic..::..List<(Of <(<'Byte>)>)>
The byte sequence to be encoded. Must be backed by an array.

Return Value

The number of chars required to encode the given byte sequence

See Also