summaryrefslogtreecommitdiff
path: root/NET/worlds/core/FastDataInput.java
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-05-03 16:38:41 -0700
committerFuwn <[email protected]>2021-05-03 16:38:41 -0700
commite1e781bb2135ef78592226f1a3eaba4925702f1f (patch)
tree8a5b590463ed413e1c6eabb719130e701b95ca63 /NET/worlds/core/FastDataInput.java
downloadworlds.jar-e1e781bb2135ef78592226f1a3eaba4925702f1f.tar.xz
worlds.jar-e1e781bb2135ef78592226f1a3eaba4925702f1f.zip
:star:HEADmain
Diffstat (limited to 'NET/worlds/core/FastDataInput.java')
-rw-r--r--NET/worlds/core/FastDataInput.java77
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