Method AllocateDirect
AllocateDirect(Int32)
Creates a direct byte buffer based on a newly allocated memory block. (NOT IMPLEMENTED IN LUCENE.NET)
Declaration
public static ByteBuffer AllocateDirect(int capacity)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | capacity | the capacity of the new buffer |
Returns
Type | Description |
---|---|
ByteBuffer | The new byte buffer |