xerial.larray.buffer.LBuffer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of larray-buffer Show documentation
Show all versions of larray-buffer Show documentation
LArray off-heap buffer library
package xerial.larray.buffer;
/**
* Off-heap memory buffer of int and long type indexes.
* LBuffer is used as a backend of LArray.
*
* @author Taro L. Saito
*/
public class LBuffer extends LBufferAPI {
/**
* Allocate a memory of the specified byte size
*
* @param size byte size of the array
*/
public LBuffer(long size) {
super(LBufferConfig.allocator.allocate(size));
}
}