public class org.bouncycastle.util.encoders.BufferedEncoder
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bouncycastle.util.encoders.BufferedEncoder
  super_class: java.lang.Object
{
  protected byte[] buf;
    descriptor: [B
    flags: (0x0004) ACC_PROTECTED

  protected int bufOff;
    descriptor: I
    flags: (0x0004) ACC_PROTECTED

  protected org.bouncycastle.util.encoders.Translator translator;
    descriptor: Lorg/bouncycastle/util/encoders/Translator;
    flags: (0x0004) ACC_PROTECTED

  public void <init>(org.bouncycastle.util.encoders.Translator, int);
    descriptor: (Lorg/bouncycastle/util/encoders/Translator;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // org.bouncycastle.util.encoders.BufferedEncoder this
        start local 1 // org.bouncycastle.util.encoders.Translator translator
        start local 2 // int bufSize
         0: .line 19
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 23
            aload 0 /* this */
            aload 1 /* translator */
            putfield org.bouncycastle.util.encoders.BufferedEncoder.translator:Lorg/bouncycastle/util/encoders/Translator;
         2: .line 25
            iload 2 /* bufSize */
            aload 1 /* translator */
            invokeinterface org.bouncycastle.util.encoders.Translator.getEncodedBlockSize:()I
            irem
            ifeq 4
         3: .line 27
            new java.lang.IllegalArgumentException
            dup
            ldc "buffer size not multiple of input block size"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 30
      StackMap locals: org.bouncycastle.util.encoders.BufferedEncoder org.bouncycastle.util.encoders.Translator int
      StackMap stack:
            aload 0 /* this */
            iload 2 /* bufSize */
            newarray 8
            putfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
         5: .line 31
            aload 0 /* this */
            iconst_0
            putfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
         6: .line 32
            return
        end local 2 // int bufSize
        end local 1 // org.bouncycastle.util.encoders.Translator translator
        end local 0 // org.bouncycastle.util.encoders.BufferedEncoder this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    7     0        this  Lorg/bouncycastle/util/encoders/BufferedEncoder;
            0    7     1  translator  Lorg/bouncycastle/util/encoders/Translator;
            0    7     2     bufSize  I
    MethodParameters:
            Name  Flags
      translator  
      bufSize     

  public int processByte(byte, byte[], int);
    descriptor: (B[BI)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=4
        start local 0 // org.bouncycastle.util.encoders.BufferedEncoder this
        start local 1 // byte in
        start local 2 // byte[] out
        start local 3 // int outOff
         0: .line 39
            iconst_0
            istore 4 /* resultLen */
        start local 4 // int resultLen
         1: .line 41
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            aload 0 /* this */
            dup
            getfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
            dup_x1
            iconst_1
            iadd
            putfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
            iload 1 /* in */
            bastore
         2: .line 43
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            arraylength
            if_icmpne 5
         3: .line 45
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.translator:Lorg/bouncycastle/util/encoders/Translator;
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            iconst_0
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            arraylength
            aload 2 /* out */
            iload 3 /* outOff */
            invokeinterface org.bouncycastle.util.encoders.Translator.encode:([BII[BI)I
            istore 4 /* resultLen */
         4: .line 46
            aload 0 /* this */
            iconst_0
            putfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
         5: .line 49
      StackMap locals: int
      StackMap stack:
            iload 4 /* resultLen */
            ireturn
        end local 4 // int resultLen
        end local 3 // int outOff
        end local 2 // byte[] out
        end local 1 // byte in
        end local 0 // org.bouncycastle.util.encoders.BufferedEncoder this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lorg/bouncycastle/util/encoders/BufferedEncoder;
            0    6     1         in  B
            0    6     2        out  [B
            0    6     3     outOff  I
            1    6     4  resultLen  I
    MethodParameters:
        Name  Flags
      in      
      out     
      outOff  

  public int processBytes(byte[], int, int, byte[], int);
    descriptor: ([BII[BI)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=9, args_size=6
        start local 0 // org.bouncycastle.util.encoders.BufferedEncoder this
        start local 1 // byte[] in
        start local 2 // int inOff
        start local 3 // int len
        start local 4 // byte[] out
        start local 5 // int outOff
         0: .line 59
            iload 3 /* len */
            ifge 2
         1: .line 61
            new java.lang.IllegalArgumentException
            dup
            ldc "Can't have a negative input length!"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 64
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 6 /* resultLen */
        start local 6 // int resultLen
         3: .line 65
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            arraylength
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
            isub
            istore 7 /* gapLen */
        start local 7 // int gapLen
         4: .line 67
            iload 3 /* len */
            iload 7 /* gapLen */
            if_icmple 15
         5: .line 69
            aload 1 /* in */
            iload 2 /* inOff */
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
            iload 7 /* gapLen */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         6: .line 71
            iload 6 /* resultLen */
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.translator:Lorg/bouncycastle/util/encoders/Translator;
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            iconst_0
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            arraylength
            aload 4 /* out */
            iload 5 /* outOff */
            invokeinterface org.bouncycastle.util.encoders.Translator.encode:([BII[BI)I
            iadd
            istore 6 /* resultLen */
         7: .line 73
            aload 0 /* this */
            iconst_0
            putfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
         8: .line 75
            iload 3 /* len */
            iload 7 /* gapLen */
            isub
            istore 3 /* len */
         9: .line 76
            iload 2 /* inOff */
            iload 7 /* gapLen */
            iadd
            istore 2 /* inOff */
        10: .line 77
            iload 5 /* outOff */
            iload 6 /* resultLen */
            iadd
            istore 5 /* outOff */
        11: .line 79
            iload 3 /* len */
            iload 3 /* len */
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            arraylength
            irem
            isub
            istore 8 /* chunkSize */
        start local 8 // int chunkSize
        12: .line 81
            iload 6 /* resultLen */
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.translator:Lorg/bouncycastle/util/encoders/Translator;
            aload 1 /* in */
            iload 2 /* inOff */
            iload 8 /* chunkSize */
            aload 4 /* out */
            iload 5 /* outOff */
            invokeinterface org.bouncycastle.util.encoders.Translator.encode:([BII[BI)I
            iadd
            istore 6 /* resultLen */
        13: .line 83
            iload 3 /* len */
            iload 8 /* chunkSize */
            isub
            istore 3 /* len */
        14: .line 84
            iload 2 /* inOff */
            iload 8 /* chunkSize */
            iadd
            istore 2 /* inOff */
        end local 8 // int chunkSize
        15: .line 87
      StackMap locals: int int
      StackMap stack:
            iload 3 /* len */
            ifeq 18
        16: .line 89
            aload 1 /* in */
            iload 2 /* inOff */
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.buf:[B
            aload 0 /* this */
            getfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
            iload 3 /* len */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
        17: .line 91
            aload 0 /* this */
            dup
            getfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
            iload 3 /* len */
            iadd
            putfield org.bouncycastle.util.encoders.BufferedEncoder.bufOff:I
        18: .line 94
      StackMap locals:
      StackMap stack:
            iload 6 /* resultLen */
            ireturn
        end local 7 // int gapLen
        end local 6 // int resultLen
        end local 5 // int outOff
        end local 4 // byte[] out
        end local 3 // int len
        end local 2 // int inOff
        end local 1 // byte[] in
        end local 0 // org.bouncycastle.util.encoders.BufferedEncoder this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   19     0       this  Lorg/bouncycastle/util/encoders/BufferedEncoder;
            0   19     1         in  [B
            0   19     2      inOff  I
            0   19     3        len  I
            0   19     4        out  [B
            0   19     5     outOff  I
            3   19     6  resultLen  I
            4   19     7     gapLen  I
           12   15     8  chunkSize  I
    MethodParameters:
        Name  Flags
      in      
      inOff   
      len     
      out     
      outOff  
}
SourceFile: "BufferedEncoder.java"