annotate src/treeVnc/MyDataInputStream.java @ 62:b2492abdae2a Version1.0 tip

Added tag TreeVNC_version1.0 for changeset 318ec7415073
author Taninari YU <you@cr.ie.u-ryukyu.ac.jp>
date Sun, 12 Aug 2012 22:13:39 +0900
parents 3e41bb95119b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
37
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
1 package treeVnc;
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
2
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
3 import java.io.IOException;
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
4
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
5 public interface MyDataInputStream {
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
6 void readFully(byte[] b, int off, int len) throws IOException;
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
7
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
8 int available() throws IOException;
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
9
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
10 int skipBytes(int n) throws IOException;
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
11
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
12 int readUnsignedByte() throws IOException;
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
13
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
14 int readUnsignedShort() throws IOException;
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
15
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
16 int readInt() throws IOException;
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
17
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
18 void read(byte[] headBuf) throws IOException;
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
19
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
20 boolean markSupported();
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
21
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
22 void mark(int i);
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
23
44
3e41bb95119b add tags
Yu Taninari <you@cr.ie.u-ryukyu.ac.jp>
parents: 37
diff changeset
24 void reset() throws IOException;
37
0809b3005687 add DataInputStream1.java, MyDataInputStream.java and ReadHandler.java
one
parents:
diff changeset
25 }