|Modifier and Type||Interface and Description|
ByteBuffer acquire(int size, boolean direct)
ByteBuffer of the given size.
The returned buffer may have a bigger capacity than the size being requested but it will have the limit set to the given size.
size- the size of the buffer
direct- whether the buffer must be direct or not
Copyright © 1995-2016 Webtide. All Rights Reserved.