public class SqlJetDirectByteBuffer extends SqlJetByteBuffer
buffer
Constructor and Description |
---|
SqlJetDirectByteBuffer() |
SqlJetDirectByteBuffer(java.nio.ByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
void |
allocate(int size)
Allocate chunk of memory.
|
byte[] |
asArray() |
void |
fill(int from,
int count,
byte value) |
void |
getBytes(int pointer,
byte[] bytes,
int to,
int count) |
void |
putBytes(int pointer,
byte[] bytes,
int from,
int count) |
compareTo, copyFrom, free, getByte, getByteUnsigned, getInt, getIntUnsigned, getLong, getPointer, getShort, getShortUnsigned, getSize, isAllocated, putByte, putByteUnsigned, putInt, putIntUnsigned, putLong, putShort, putShortUnsigned, readFromFile, writeToFile
public SqlJetDirectByteBuffer()
public SqlJetDirectByteBuffer(java.nio.ByteBuffer buffer)
public void allocate(int size)
ISqlJetMemoryBuffer
allocate
in interface ISqlJetMemoryBuffer
allocate
in class SqlJetByteBuffer
size
- size of chunk in bytespublic byte[] asArray()
asArray
in interface ISqlJetMemoryBuffer
asArray
in class SqlJetByteBuffer
public void fill(int from, int count, byte value)
fill
in interface ISqlJetMemoryBuffer
fill
in class SqlJetByteBuffer
public void getBytes(int pointer, byte[] bytes, int to, int count)
getBytes
in interface ISqlJetMemoryBuffer
getBytes
in class SqlJetByteBuffer
public void putBytes(int pointer, byte[] bytes, int from, int count)
putBytes
in interface ISqlJetMemoryBuffer
putBytes
in class SqlJetByteBuffer
Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.