Creates a direct byte buffer based on a newly allocated memory block.
Syntax
[Android.Runtime.Register("allocateDirect", "(I)Ljava/nio/ByteBuffer;", "")]
public static
ByteBuffer AllocateDirect (
int capacity)
Parameters
- capacity
- the capacity of the new buffer
Returns
Documentation for this section has not yet been entered.
Exceptions
Remarks
Requirements
Namespace: Java.Nio
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1