diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/treeVnc/MyDataInputStream.java	Mon Apr 23 21:10:23 2012 +0900
@@ -0,0 +1,27 @@
+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();
+
+}