Maven module :un.api : api-encoding :
Class : un.impl.io.ClipSeekableByteBuffer
Extends/Implements : un.api.io.SeekableByteBuffer
Subclasses : -

Restricted seekable byte buffer.
TODO : just a draft, must do position check and size change on insert
author  Johann Sorel


Variables : -
Functions : ClipSeekableByteBuffer, getSize, isReadable, isWritable, isResizable, setPosition, getPosition, skip, skipAll, read, read, read, read, write, write, write, insert, insert, insert, remove, flush, dispose



public void ClipSeekableByteBuffer (SeekableByteBuffer parent, long offset, long size)

public long getSize ()

public boolean isReadable ()

public boolean isWritable ()

public boolean isResizable ()

public void setPosition (long position)

public long getPosition ()

public long skip (long nb)

public void skipAll (long nb)

public int read ()

public byte[] read (int nb)

public byte[] read (byte[] buffer)

public byte[] read (byte[] buffer, int offset, int length)

public void write (byte b)

public void write (byte[] buffer)

public void write (byte[] buffer, int offset, int length)

public void insert (byte b)

public void insert (byte[] buffer)

public void insert (byte[] buffer, int offset, int length)

public void remove (int nb)

public void flush ()

public void dispose ()