Class SqlJetMemoryPointer

java.lang.Object
org.tmatesoft.sqljet.core.internal.memory.SqlJetMemoryPointer
All Implemented Interfaces:
ISqlJetMemoryPointer

public final class SqlJetMemoryPointer extends java.lang.Object implements ISqlJetMemoryPointer
Author:
TMate Software Ltd., Sergey Scherbina (sergey.scherbina@gmail.com)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SqlJetMemoryPointer(ISqlJetMemoryBuffer buffer, int pointer, int limit)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final int
     
    final void
    copyFrom(int dstPos, ISqlJetMemoryPointer src, int srcPos, int length)
     
    final void
    copyFrom(ISqlJetMemoryPointer src, int length)
     
    final void
    copyFrom(ISqlJetMemoryPointer src, int srcPos, int length)
     
    final void
    fill(int count, byte value)
     
    final void
    fill(int from, int count, byte value)
     
    final int
    getAbsolute(int pointer)
     
    Get buffer which contains pointer.
    final byte
    Read byte at current address.
    final byte
    getByte(int pointer)
    Read byte at pointer.
    final void
    getBytes(byte[] bytes)
     
    final void
    getBytes(int pointer, byte[] bytes)
     
    final void
    getBytes(int pointer, byte[] bytes, int count)
     
    final void
    getBytes(int pointer, byte[] bytes, int to, int count)
     
    final int
    Read unsigned byte at current address.
    final int
    getByteUnsigned(int pointer)
    Read unsigned byte at pointer.
     
    final int
    Read int at current address.
    final int
    getInt(int pointer)
    Read int at pointer.
    final long
    Read unsigned int at current address.
    final long
    getIntUnsigned(int pointer)
    Read unsigned int at pointer.
    final int
     
    final long
    Read long at current address.
    final long
    getLong(int pointer)
    Read long at pointer.
    getMoved(int count)
     
    final int
    Get pointer address (offset in buffer).
    final short
    Read short at current address.
    final short
    getShort(int pointer)
    Read short at pointer.
    final int
    Read unsigned short at current address.
    final int
    getShortUnsigned(int pointer)
    Read unsigned short at pointer.
    final void
    limit(int n)
     
    final void
    movePointer(int count)
    Move pointer.
    final void
    putByte(byte value)
    Write byte at current address.
    final void
    putByte(int pointer, byte value)
    Write byte at pointer.
    final void
    putBytes(byte[] bytes)
     
    final void
    putBytes(int pointer, byte[] bytes)
     
    final void
    putBytes(int pointer, byte[] bytes, int count)
     
    final void
    putBytes(int pointer, byte[] bytes, int to, int count)
     
    final void
    putByteUnsigned(int value)
    Write unsigned byte at current address.
    final void
    putByteUnsigned(int pointer, int value)
    Write unsigned byte at pointer.
    final void
    putInt(int value)
    Write int at current address.
    final void
    putInt(int pointer, int value)
    Write int at pointer.
    final void
    putIntUnsigned(int pointer, long value)
    Write unsigned int at pointer.
    final void
    putIntUnsigned(long value)
    Write unsigned int at current address.
    final void
    putLong(int pointer, long value)
    Write long at pointer.
    final void
    putLong(long value)
    Write long at current address.
    final void
    putShort(int pointer, short value)
    Write short at pointer.
    final void
    putShort(short value)
    Write short at current address.
    final void
    putShortUnsigned(int value)
    Write unsigned short at current address.
    final void
    putShortUnsigned(int pointer, int value)
    Write unsigned short at pointer.
    final int
    readFromFile(int pointer, java.io.RandomAccessFile file, long position, int count)
    Read from file into memory chunk at pointer.
    final int
    readFromFile(java.io.RandomAccessFile file, long position, int count)
    Read from file at current address.
    final int
     
    final void
    setPointer(int pointer)
    Set pointer address (offset in buffer).
    final int
    writeToFile(int pointer, java.io.RandomAccessFile file, long position, int count)
    Write from memory chunk at pointer to file.
    final int
    writeToFile(java.io.RandomAccessFile file, long position, int count)
    Write to file at current address.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait