Mercurial > hg > Members > you > BroadCastTreeVNC
view 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 |
line wrap: on
line source
package treeVnc; import java.io.IOException; public interface MyDataInputStream { void readFully(byte[] b, int off, int len) throws IOException; int available() throws IOException; int skipBytes(int n) throws IOException; int readUnsignedByte() throws IOException; int readUnsignedShort() throws IOException; int readInt() throws IOException; void read(byte[] headBuf) throws IOException; boolean markSupported(); void mark(int i); void reset(); }