diff options
Diffstat (limited to 'NET/worlds/core/FastDataInput.java')
| -rw-r--r-- | NET/worlds/core/FastDataInput.java | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/NET/worlds/core/FastDataInput.java b/NET/worlds/core/FastDataInput.java new file mode 100644 index 0000000..edc2668 --- /dev/null +++ b/NET/worlds/core/FastDataInput.java @@ -0,0 +1,77 @@ +/* */ package NET.worlds.core; +/* */ +/* */ import java.io.DataInput; +/* */ import java.io.IOException; +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ public class FastDataInput +/* */ implements DataInput +/* */ { +/* */ private int nativeInfo; +/* */ +/* */ public FastDataInput(String fileName) +/* */ throws IOException +/* */ { +/* 20 */ nativeInit(); +/* 21 */ read(fileName); +/* */ } +/* */ +/* */ +/* */ public native void close(); +/* */ +/* */ public void readFully(byte[] b) +/* */ throws IOException +/* */ { +/* 30 */ readFully(b, 0, b.length); +/* */ } +/* */ +/* */ public static native void nativeInit(); +/* */ +/* */ public native void readFully(byte[] paramArrayOfByte, int paramInt1, int paramInt2) +/* */ throws IOException; +/* */ +/* */ public native int skipBytes(int paramInt) throws IOException; +/* */ +/* */ public native boolean readBoolean() throws IOException; +/* */ +/* */ public native byte readByte() throws IOException; +/* */ +/* */ public native int readUnsignedByte() throws IOException; +/* */ +/* */ public native short readShort() throws IOException; +/* */ +/* */ public native int readUnsignedShort() throws IOException; +/* */ +/* */ public native char readChar() throws IOException; +/* */ +/* */ public native int readInt() throws IOException; +/* */ +/* */ public native long readLong() throws IOException; +/* */ +/* */ public native float readFloat() throws IOException; +/* */ +/* */ public native double readDouble() throws IOException; +/* */ +/* */ public String readLine() throws IOException +/* */ { +/* 62 */ if (!$assertionsDisabled) throw new AssertionError(); +/* 63 */ return null; +/* */ } +/* */ +/* */ public native String readUTF() +/* */ throws IOException; +/* */ +/* */ private native void read(String paramString) +/* */ throws IOException; +/* */ } + + +/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\core\FastDataInput.class + * Java compiler version: 6 (50.0) + * JD-Core Version: 0.7.1 + */
\ No newline at end of file |