allocate static method
Creates a new ByteBuffer with the given capacity
Implementation
static ByteBuffer allocate(int capacity) {
return ByteBuffer._internal(capacity);
}
Creates a new ByteBuffer with the given capacity
static ByteBuffer allocate(int capacity) {
return ByteBuffer._internal(capacity);
}