Reads Lucene's old "modified UTF-8" encoded characters into an array.

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

Syntax

C#
[ObsoleteAttribute("-- please use ReadString or ReadBytes instead, and construct the string from those utf8 bytes")]
public virtual void ReadChars(
	char[] buffer,
	int start,
	int length
)
Visual Basic
<ObsoleteAttribute("-- please use ReadString or ReadBytes instead, and construct the string from those utf8 bytes")> _
Public Overridable Sub ReadChars ( _
	buffer As Char(), _
	start As Integer, _
	length As Integer _
)
Visual C++
[ObsoleteAttribute(L"-- please use ReadString or ReadBytes instead, and construct the string from those utf8 bytes")]
public:
virtual void ReadChars(
	array<wchar_t>^ buffer, 
	int start, 
	int length
)

Parameters

buffer
Type: array<System..::..Char>[]()[][]
the array to read characters into
start
Type: System..::..Int32
the offset in the array to start storing characters
length
Type: System..::..Int32
the number of characters to read

See Also