public final class org.hsqldb.lib.CountdownInputStream extends java.io.InputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.hsqldb.lib.CountdownInputStream
  super_class: java.io.InputStream
{
  private long m_count;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private java.io.InputStream m_input;
    descriptor: Ljava/io/InputStream;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.hsqldb.lib.CountdownInputStream this
        start local 1 // java.io.InputStream is
         0: .line 60
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 61
            aload 0 /* this */
            aload 1 /* is */
            putfield org.hsqldb.lib.CountdownInputStream.m_input:Ljava/io/InputStream;
         2: .line 62
            return
        end local 1 // java.io.InputStream is
        end local 0 // org.hsqldb.lib.CountdownInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/hsqldb/lib/CountdownInputStream;
            0    3     1    is  Ljava/io/InputStream;
    MethodParameters:
      Name  Flags
      is    final

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // org.hsqldb.lib.CountdownInputStream this
         0: .line 66
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            lconst_0
            lcmp
            ifgt 2
         1: .line 67
            iconst_m1
            ireturn
         2: .line 70
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_input:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 1 /* b */
        start local 1 // int b
         3: .line 72
            iload 1 /* b */
            iflt 5
         4: .line 73
            aload 0 /* this */
            dup
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            lconst_1
            lsub
            putfield org.hsqldb.lib.CountdownInputStream.m_count:J
         5: .line 76
      StackMap locals: int
      StackMap stack:
            iload 1 /* b */
            ireturn
        end local 1 // int b
        end local 0 // org.hsqldb.lib.CountdownInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/hsqldb/lib/CountdownInputStream;
            3    6     1     b  I
    Exceptions:
      throws java.io.IOException

  public int read(byte[]);
    descriptor: ([B)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=2
        start local 0 // org.hsqldb.lib.CountdownInputStream this
        start local 1 // byte[] buf
         0: .line 81
            aload 1 /* buf */
            ifnonnull 2
         1: .line 82
            new java.lang.NullPointerException
            dup
            invokespecial java.lang.NullPointerException.<init>:()V
            athrow
         2: .line 85
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            lconst_0
            lcmp
            ifgt 4
         3: .line 86
            iconst_m1
            ireturn
         4: .line 89
      StackMap locals:
      StackMap stack:
            aload 1 /* buf */
            arraylength
            istore 2 /* len */
        start local 2 // int len
         5: .line 91
            iload 2 /* len */
            i2l
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            lcmp
            ifle 7
         6: .line 92
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            l2i
            istore 2 /* len */
         7: .line 95
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_input:Ljava/io/InputStream;
            aload 1 /* buf */
            iconst_0
            iload 2 /* len */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 3 /* r */
        start local 3 // int r
         8: .line 97
            iload 3 /* r */
            ifle 10
         9: .line 98
            aload 0 /* this */
            dup
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            iload 3 /* r */
            i2l
            lsub
            putfield org.hsqldb.lib.CountdownInputStream.m_count:J
        10: .line 101
      StackMap locals: int
      StackMap stack:
            iload 3 /* r */
            ireturn
        end local 3 // int r
        end local 2 // int len
        end local 1 // byte[] buf
        end local 0 // org.hsqldb.lib.CountdownInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lorg/hsqldb/lib/CountdownInputStream;
            0   11     1   buf  [B
            5   11     2   len  I
            8   11     3     r  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      buf   final

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // org.hsqldb.lib.CountdownInputStream this
        start local 1 // byte[] buf
        start local 2 // int off
        start local 3 // int len
         0: .line 107
            aload 1 /* buf */
            ifnonnull 2
         1: .line 108
            new java.lang.NullPointerException
            dup
            invokespecial java.lang.NullPointerException.<init>:()V
            athrow
         2: .line 111
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            lconst_0
            lcmp
            ifgt 4
         3: .line 112
            iconst_m1
            ireturn
         4: .line 115
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            i2l
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            lcmp
            ifle 6
         5: .line 116
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            l2i
            istore 3 /* len */
         6: .line 119
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_input:Ljava/io/InputStream;
            aload 1 /* buf */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* r */
        start local 4 // int r
         7: .line 121
            iload 4 /* r */
            ifle 9
         8: .line 122
            aload 0 /* this */
            dup
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            iload 4 /* r */
            i2l
            lsub
            putfield org.hsqldb.lib.CountdownInputStream.m_count:J
         9: .line 125
      StackMap locals: int
      StackMap stack:
            iload 4 /* r */
            ireturn
        end local 4 // int r
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] buf
        end local 0 // org.hsqldb.lib.CountdownInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lorg/hsqldb/lib/CountdownInputStream;
            0   10     1   buf  [B
            0   10     2   off  I
            0   10     3   len  I
            7   10     4     r  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      buf   final
      off   final
      len   

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.hsqldb.lib.CountdownInputStream this
         0: .line 129
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_input:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.close:()V
         1: .line 130
            return
        end local 0 // org.hsqldb.lib.CountdownInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/hsqldb/lib/CountdownInputStream;
    Exceptions:
      throws java.io.IOException

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.hsqldb.lib.CountdownInputStream this
         0: .line 133
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_input:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.available:()I
         1: .line 134
            ldc 2147483647
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            invokestatic java.lang.Math.min:(JJ)J
            l2i
         2: .line 133
            invokestatic java.lang.Math.min:(II)I
            ireturn
        end local 0 // org.hsqldb.lib.CountdownInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/hsqldb/lib/CountdownInputStream;
    Exceptions:
      throws java.io.IOException

  public long skip(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.hsqldb.lib.CountdownInputStream this
        start local 1 // long count
         0: .line 138
            lload 1 /* count */
            lconst_0
            lcmp
            ifgt 1
            lconst_0
            goto 2
         1: .line 139
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_input:Ljava/io/InputStream;
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            lload 1 /* count */
            invokestatic java.lang.Math.min:(JJ)J
            invokevirtual java.io.InputStream.skip:(J)J
         2: .line 138
      StackMap locals:
      StackMap stack: long
            lreturn
        end local 1 // long count
        end local 0 // org.hsqldb.lib.CountdownInputStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    3     0   this  Lorg/hsqldb/lib/CountdownInputStream;
            0    3     1  count  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      count  

  public long getCount();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.hsqldb.lib.CountdownInputStream this
         0: .line 143
            aload 0 /* this */
            getfield org.hsqldb.lib.CountdownInputStream.m_count:J
            lreturn
        end local 0 // org.hsqldb.lib.CountdownInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/hsqldb/lib/CountdownInputStream;

  public void setCount(long);
    descriptor: (J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.hsqldb.lib.CountdownInputStream this
        start local 1 // long count
         0: .line 147
            aload 0 /* this */
            lload 1 /* count */
            putfield org.hsqldb.lib.CountdownInputStream.m_count:J
         1: .line 148
            return
        end local 1 // long count
        end local 0 // org.hsqldb.lib.CountdownInputStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/hsqldb/lib/CountdownInputStream;
            0    2     1  count  J
    MethodParameters:
       Name  Flags
      count  
}
SourceFile: "CountdownInputStream.java"