import jaclib.memory.Buffer;

public class Class162 {

   Buffer aBuffer2003;
   Class545_Sub1 aClass545_Sub1_2004;


   Class162(Class545_Sub1 var1, byte[] var2, int var3) {
      this.aClass545_Sub1_2004 = var1;
      this.aBuffer2003 = this.aClass545_Sub1_2004.aNativeHeap9162.method825(var3, false);
      if(var2 != null) {
         this.aBuffer2003.method79(var2, 0, 0, var3);
      }

   }

   Class162(Class545_Sub1 var1, Buffer var2) {
      this.aClass545_Sub1_2004 = var1;
      this.aBuffer2003 = var2;
   }

   void method2829(byte[] var1, int var2) {
      if(this.aBuffer2003 == null || this.aBuffer2003.method30() < var2) {
         this.aBuffer2003 = this.aClass545_Sub1_2004.aNativeHeap9162.method825(var2, false);
      }

      this.aBuffer2003.method79(var1, 0, 0, var2);
   }

   void method2830(byte[] var1, int var2) {
      if(this.aBuffer2003 == null || this.aBuffer2003.method30() < var2) {
         this.aBuffer2003 = this.aClass545_Sub1_2004.aNativeHeap9162.method825(var2, false);
      }

      this.aBuffer2003.method79(var1, 0, 0, var2);
   }

   void method2831(byte[] var1, int var2) {
      if(this.aBuffer2003 == null || this.aBuffer2003.method30() < var2) {
         this.aBuffer2003 = this.aClass545_Sub1_2004.aNativeHeap9162.method825(var2, false);
      }

      this.aBuffer2003.method79(var1, 0, 0, var2);
   }
}
