Mercurial > hg > Members > you > BroadCastTreeVNC
comparison src/treeVnc/MyDataInputStream.java @ 5:970d5ac80256
add MyDataInputStream.java and DataInputStream1.java
author | one |
---|---|
date | Mon, 23 Apr 2012 21:10:23 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4:657c691c2936 | 5:970d5ac80256 |
---|---|
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 } |