get rid of useless main() func
[nestedvm.git] / src / org / xwt / mips / util / SeekableData.java
1 package org.xwt.mips.util;
2
3 import java.io.IOException;
4
5 public interface SeekableData { 
6     public int read(byte[] buf, int offset, int length) throws IOException;
7     public int write(byte[] buf, int offset, int length) throws IOException;
8     public int length() throws IOException;
9     public void seek(int pos) throws IOException;
10     public void close() throws IOException;
11     public int pos() throws IOException;
12 }