Code example for RandomAccessFile

Methods: seekwritewriteBytewriteInt

0
      } 
 
   } 
 
   private void func_112416_a(int var1, byte[] var2, int var3) {
      this.field_112423_c.seek((long)(var1 * 4096));
      this.field_112423_c.writeInt(var3 + 1);
      this.field_112423_c.writeByte(2);
      this.field_112423_c.write(var2, 0, var3);
   } 
 
   private boolean func_112409_d(int var1, int var2) {
      return var1 < 0 || var1 >= 32 || var2 < 0 || var2 >= 32;
   } 
 
   private int func_112411_e(int var1, int var2) {
      return this.field_112420_d[var1 + var2 * 32];
   } 
 
   public boolean func_112413_c(int var1, int var2) {
      return this.func_112411_e(var1, var2) != 0;