|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ISqlJetMemoryPointer
| Method Summary | |
|---|---|
int |
compareTo(ISqlJetMemoryPointer ptr)
|
void |
copyFrom(int dstPos,
ISqlJetMemoryPointer src,
int srcPos,
int length)
|
void |
copyFrom(ISqlJetMemoryPointer src,
int length)
|
void |
copyFrom(ISqlJetMemoryPointer src,
int srcPos,
int length)
|
void |
fill(int count,
byte value)
|
void |
fill(int from,
int count,
byte value)
|
int |
getAbsolute(int pointer)
|
ISqlJetMemoryBuffer |
getBuffer()
Get buffer which contains pointer. |
byte |
getByte()
Read byte at current address. |
byte |
getByte(int pointer)
Read byte at pointer. |
void |
getBytes(byte[] bytes)
|
void |
getBytes(int pointer,
byte[] bytes)
|
void |
getBytes(int pointer,
byte[] bytes,
int count)
|
void |
getBytes(int pointer,
byte[] bytes,
int to,
int count)
|
int |
getByteUnsigned()
Read unsigned byte at current address. |
int |
getByteUnsigned(int pointer)
Read unsigned byte at pointer. |
ISqlJetMemoryPointer |
getIdentic()
|
int |
getInt()
Read int at current address. |
int |
getInt(int pointer)
Read int at pointer. |
long |
getIntUnsigned()
Read unsigned int at current address. |
long |
getIntUnsigned(int pointer)
Read unsigned int at pointer. |
int |
getLimit()
|
long |
getLong()
Read long at current address. |
long |
getLong(int pointer)
Read long at pointer. |
ISqlJetMemoryPointer |
getMoved(int count)
|
int |
getPointer()
Get pointer address (offset in buffer). |
short |
getShort()
Read short at current address. |
short |
getShort(int pointer)
Read short at pointer. |
int |
getShortUnsigned()
Read unsigned short at current address. |
int |
getShortUnsigned(int pointer)
Read unsigned short at pointer. |
void |
limit(int n)
|
void |
movePointer(int count)
Move pointer. |
void |
putByte(byte value)
Write byte at current address. |
void |
putByte(int pointer,
byte value)
Write byte at pointer. |
void |
putBytes(byte[] bytes)
|
void |
putBytes(int pointer,
byte[] bytes)
|
void |
putBytes(int pointer,
byte[] bytes,
int count)
|
void |
putBytes(int pointer,
byte[] bytes,
int to,
int count)
|
void |
putByteUnsigned(int value)
Write unsigned byte at current address. |
void |
putByteUnsigned(int pointer,
int value)
Write unsigned byte at pointer. |
void |
putInt(int value)
Write int at current address. |
void |
putInt(int pointer,
int value)
Write int at pointer. |
void |
putIntUnsigned(int pointer,
long value)
Write unsigned int at pointer. |
void |
putIntUnsigned(long value)
Write unsigned int at current address. |
void |
putLong(int pointer,
long value)
Write long at pointer. |
void |
putLong(long value)
Write long at current address. |
void |
putShort(int pointer,
short value)
Write short at pointer. |
void |
putShort(short value)
Write short at current address. |
void |
putShortUnsigned(int value)
Write unsigned short at current address. |
void |
putShortUnsigned(int pointer,
int value)
Write unsigned short at pointer. |
int |
readFromFile(int pointer,
java.io.RandomAccessFile file,
long position,
int count)
Read from file into memory chunk at pointer. |
int |
readFromFile(java.io.RandomAccessFile file,
long position,
int count)
Read from file at current address. |
int |
remaining()
|
void |
setPointer(int pointer)
Set pointer address (offset in buffer). |
int |
writeToFile(int pointer,
java.io.RandomAccessFile file,
long position,
int count)
Write from memory chunk at pointer to file. |
int |
writeToFile(java.io.RandomAccessFile file,
long position,
int count)
Write to file at current address. |
| Method Detail |
|---|
ISqlJetMemoryBuffer getBuffer()
int getPointer()
void setPointer(int pointer)
pointer - void movePointer(int count)
count - count which added to address. May be negative.byte getByte()
void putByte(byte value)
value - short getShort()
void putShort(short value)
value - int getInt()
void putInt(int value)
value - long getLong()
void putLong(long value)
value - int getByteUnsigned()
void putByteUnsigned(int value)
value - int getShortUnsigned()
void putShortUnsigned(int value)
value - long getIntUnsigned()
void putIntUnsigned(long value)
value -
int readFromFile(java.io.RandomAccessFile file,
long position,
int count)
throws java.io.IOException
file - position - count -
java.io.IOException
int writeToFile(java.io.RandomAccessFile file,
long position,
int count)
throws java.io.IOException
file - position - count -
java.io.IOExceptionbyte getByte(int pointer)
pointer -
void putByte(int pointer,
byte value)
pointer - value - short getShort(int pointer)
pointer -
void putShort(int pointer,
short value)
pointer - value - int getInt(int pointer)
pointer -
void putInt(int pointer,
int value)
pointer - value - long getLong(int pointer)
pointer -
void putLong(int pointer,
long value)
pointer - value - int getByteUnsigned(int pointer)
pointer -
void putByteUnsigned(int pointer,
int value)
pointer - value - int getShortUnsigned(int pointer)
pointer -
void putShortUnsigned(int pointer,
int value)
pointer - value - long getIntUnsigned(int pointer)
pointer -
void putIntUnsigned(int pointer,
long value)
pointer - value -
int readFromFile(int pointer,
java.io.RandomAccessFile file,
long position,
int count)
throws java.io.IOException
pointer - file - position - count -
java.io.IOException
int writeToFile(int pointer,
java.io.RandomAccessFile file,
long position,
int count)
throws java.io.IOException
pointer - file - position - count -
java.io.IOExceptionint remaining()
void copyFrom(int dstPos,
ISqlJetMemoryPointer src,
int srcPos,
int length)
void copyFrom(ISqlJetMemoryPointer src,
int srcPos,
int length)
void copyFrom(ISqlJetMemoryPointer src,
int length)
int getAbsolute(int pointer)
pointer -
void fill(int from,
int count,
byte value)
from - count - value -
void fill(int count,
byte value)
from - count - value - void getBytes(byte[] bytes)
bytes -
void getBytes(int pointer,
byte[] bytes)
bytes -
void getBytes(int pointer,
byte[] bytes,
int count)
bytes -
void getBytes(int pointer,
byte[] bytes,
int to,
int count)
bytes - void putBytes(byte[] bytes)
bytes -
void putBytes(int pointer,
byte[] bytes)
bytes -
void putBytes(int pointer,
byte[] bytes,
int count)
bytes -
void putBytes(int pointer,
byte[] bytes,
int to,
int count)
bytes - int compareTo(ISqlJetMemoryPointer ptr)
raw2 -
void limit(int n)
n - int getLimit()
ISqlJetMemoryPointer getIdentic()
ISqlJetMemoryPointer getMoved(int count)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||