5
|
1 package treeVnc;
|
|
2
|
|
3 import java.io.IOException;
|
|
4
|
|
5 public interface MyDataInputStream {
|
|
6
|
|
7 void readFully(byte[] b, int off, int len) throws IOException;
|
|
8
|
|
9 int available() throws IOException;
|
|
10
|
|
11 int skipBytes(int n) throws IOException;
|
|
12
|
|
13 int readUnsignedByte() throws IOException;
|
|
14
|
|
15 int readUnsignedShort() throws IOException;
|
|
16
|
|
17 int readInt() throws IOException;
|
|
18
|
|
19 void read(byte[] headBuf) throws IOException;
|
|
20
|
|
21 boolean markSupported();
|
|
22
|
|
23 void mark(int i);
|
|
24
|
|
25 void reset();
|
|
26
|
|
27 }
|