summaryrefslogtreecommitdiff
path: root/NET/worlds/core/FastDataInput.java
blob: edc26684390fe5fbaf05da45cb75623d98c39340 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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
 */