Maven module :un.api : api-common :
Class : un.api.buffer.DefaultCursor
Extends/Implements : un.api.buffer.AbstractDataCursor
Subclasses : -

author  Johann Sorel


Variables : buffer, byteOffset, bitOffset
Functions : DefaultCursor, getBuffer, getBitOffset, getByteOffset, setBitOffset, setByteOffset, readByte, readBit, writeByte, writeBit, readByte, readByte


Buffer buffer



long byteOffset



int bitOffset


public void DefaultCursor (Buffer buffer, NumberEncoding encoding)

public Buffer getBuffer ()

public int getBitOffset ()

public long getByteOffset ()

public void setBitOffset (int position)

public void setByteOffset (long position)

public byte readByte ()

public int readBit (int nbBits, int startOrder)

public DataCursor writeByte (byte value)

public DataCursor writeBit (int value, int nbBit)

public void readByte (byte[] array)

public void readByte (byte[] array, int arrayOffset, int length)