org.simantics.databoard.util.binary
Interface Seekable

All Known Implementing Classes:
ByteBufferReadable, ByteBufferWriteable, FileReadable, FileWriteable

public interface Seekable


Method Summary
 long position()
          Get position
 void position(long newPosition)
          Seek new position.
 

Method Detail

position

void position(long newPosition)
              throws java.io.IOException
Seek new position. The next value will be written after the index of the given pointer.

Parameters:
newPosition - new position
Throws:
java.io.IOException

position

long position()
              throws java.io.IOException
Get position

Returns:
position
Throws:
java.io.IOException