Expert: allocate a new buffer. Subclasses can allocate differently.

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

Syntax

C#
public virtual byte[] NewBuffer(
	int size
)
Visual Basic
Public Overridable Function NewBuffer ( _
	size As Integer _
) As Byte()
Visual C++
public:
virtual array<unsigned char>^ NewBuffer(
	int size
)

Parameters

size
Type: System..::..Int32
size of allocated buffer.

Return Value

allocated buffer.

See Also