public final class org.hsqldb.types.ClobInputStream extends java.io.Reader
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: org.hsqldb.types.ClobInputStream
  super_class: java.io.Reader
{
  final org.hsqldb.types.ClobData clob;
    descriptor: Lorg/hsqldb/types/ClobData;
    flags: (0x0010) ACC_FINAL

  final long availableLength;
    descriptor: J
    flags: (0x0010) ACC_FINAL

  long bufferOffset;
    descriptor: J
    flags: (0x0000) 

  long currentPosition;
    descriptor: J
    flags: (0x0000) 

  char[] buffer;
    descriptor: [C
    flags: (0x0000) 

  boolean isClosed;
    descriptor: Z
    flags: (0x0000) 

  int streamBlockSize;
    descriptor: I
    flags: (0x0000) 

  public final org.hsqldb.SessionInterface session;
    descriptor: Lorg/hsqldb/SessionInterface;
    flags: (0x0011) ACC_PUBLIC, ACC_FINAL

  public void <init>(org.hsqldb.SessionInterface, org.hsqldb.types.ClobData, long, long);
    descriptor: (Lorg/hsqldb/SessionInterface;Lorg/hsqldb/types/ClobData;JJ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=9, args_size=5
        start local 0 // org.hsqldb.types.ClobInputStream this
        start local 1 // org.hsqldb.SessionInterface session
        start local 2 // org.hsqldb.types.ClobData clob
        start local 3 // long offset
        start local 5 // long length
         0: .line 61
            aload 0 /* this */
            invokespecial java.io.Reader.<init>:()V
         1: .line 64
            aload 2 /* clob */
            aload 1 /* session */
            invokeinterface org.hsqldb.types.ClobData.length:(Lorg/hsqldb/SessionInterface;)J
            lstore 7 /* clobLength */
        start local 7 // long clobLength
         2: .line 66
            aload 0 /* this */
            aload 1 /* session */
            putfield org.hsqldb.types.ClobInputStream.session:Lorg/hsqldb/SessionInterface;
         3: .line 67
            aload 0 /* this */
            aload 2 /* clob */
            putfield org.hsqldb.types.ClobInputStream.clob:Lorg/hsqldb/types/ClobData;
         4: .line 68
            aload 0 /* this */
            lload 3 /* offset */
            lload 5 /* length */
            lload 7 /* clobLength */
            lload 3 /* offset */
            lsub
            invokestatic java.lang.Math.min:(JJ)J
            ladd
            putfield org.hsqldb.types.ClobInputStream.availableLength:J
         5: .line 69
            aload 0 /* this */
            lload 3 /* offset */
            putfield org.hsqldb.types.ClobInputStream.currentPosition:J
         6: .line 70
            aload 0 /* this */
            aload 1 /* session */
            invokeinterface org.hsqldb.SessionInterface.getStreamBlockSize:()I
            putfield org.hsqldb.types.ClobInputStream.streamBlockSize:I
         7: .line 71
            return
        end local 7 // long clobLength
        end local 5 // long length
        end local 3 // long offset
        end local 2 // org.hsqldb.types.ClobData clob
        end local 1 // org.hsqldb.SessionInterface session
        end local 0 // org.hsqldb.types.ClobInputStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lorg/hsqldb/types/ClobInputStream;
            0    8     1     session  Lorg/hsqldb/SessionInterface;
            0    8     2        clob  Lorg/hsqldb/types/ClobData;
            0    8     3      offset  J
            0    8     5      length  J
            2    8     7  clobLength  J
    MethodParameters:
         Name  Flags
      session  
      clob     
      offset   
      length   

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=2, args_size=1
        start local 0 // org.hsqldb.types.ClobInputStream this
         0: .line 75
            aload 0 /* this */
            invokevirtual org.hsqldb.types.ClobInputStream.checkClosed:()V
         1: .line 77
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.availableLength:J
            lcmp
            iflt 3
         2: .line 78
            iconst_m1
            ireturn
         3: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.buffer:[C
            ifnull 5
         4: .line 82
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.bufferOffset:J
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.buffer:[C
            arraylength
            i2l
            ladd
            lcmp
            iflt 10
         5: .line 84
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.hsqldb.types.ClobInputStream.checkClosed:()V
         6: .line 85
            aload 0 /* this */
            invokevirtual org.hsqldb.types.ClobInputStream.readIntoBuffer:()V
         7: .line 86
            goto 10
      StackMap locals:
      StackMap stack: java.lang.Exception
         8: astore 1 /* e */
        start local 1 // java.lang.Exception e
         9: .line 87
            aload 1 /* e */
            invokestatic org.hsqldb.lib.java.JavaSystem.toIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
            athrow
        end local 1 // java.lang.Exception e
        10: .line 91
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.buffer:[C
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.bufferOffset:J
            lsub
            l2i
            caload
            istore 1 /* val */
        start local 1 // int val
        11: .line 93
            aload 0 /* this */
            dup
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            lconst_1
            ladd
            putfield org.hsqldb.types.ClobInputStream.currentPosition:J
        12: .line 95
            iload 1 /* val */
            ireturn
        end local 1 // int val
        end local 0 // org.hsqldb.types.ClobInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   13     0  this  Lorg/hsqldb/types/ClobInputStream;
            9   10     1     e  Ljava/lang/Exception;
           11   13     1   val  I
      Exception table:
        from    to  target  type
           5     7       8  Class java.lang.Exception
    Exceptions:
      throws java.io.IOException

  public int read(char[], int, int);
    descriptor: ([CII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // org.hsqldb.types.ClobInputStream this
        start local 1 // char[] cbuf
        start local 2 // int off
        start local 3 // int len
         0: .line 100
            aload 0 /* this */
            invokevirtual org.hsqldb.types.ClobInputStream.checkClosed:()V
         1: .line 102
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.availableLength:J
            lcmp
            iflt 3
         2: .line 103
            iconst_m1
            ireturn
         3: .line 106
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            iload 3 /* len */
            i2l
            ladd
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.availableLength:J
            lcmp
            ifle 5
         4: .line 107
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.availableLength:J
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            lsub
            l2i
            istore 3 /* len */
         5: .line 110
      StackMap locals:
      StackMap stack:
            iload 2 /* off */
            istore 4 /* i */
        start local 4 // int i
         6: goto 9
         7: .line 111
      StackMap locals: int
      StackMap stack:
            aload 1 /* cbuf */
            iload 4 /* i */
            aload 0 /* this */
            invokevirtual org.hsqldb.types.ClobInputStream.read:()I
            i2c
            castore
         8: .line 110
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 4 /* i */
            iload 2 /* off */
            iload 3 /* len */
            iadd
            if_icmpge 10
            iload 4 /* i */
            aload 1 /* cbuf */
            arraylength
            if_icmplt 7
        end local 4 // int i
        10: .line 114
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            ireturn
        end local 3 // int len
        end local 2 // int off
        end local 1 // char[] cbuf
        end local 0 // org.hsqldb.types.ClobInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lorg/hsqldb/types/ClobInputStream;
            0   11     1  cbuf  [C
            0   11     2   off  I
            0   11     3   len  I
            6   10     4     i  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      cbuf  
      off   
      len   

  public long skip(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.hsqldb.types.ClobInputStream this
        start local 1 // long n
         0: .line 119
            aload 0 /* this */
            invokevirtual org.hsqldb.types.ClobInputStream.checkClosed:()V
         1: .line 121
            lload 1 /* n */
            lconst_0
            lcmp
            ifgt 3
         2: .line 122
            lconst_0
            lreturn
         3: .line 125
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            lload 1 /* n */
            ladd
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.availableLength:J
            lcmp
            ifle 5
         4: .line 126
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.availableLength:J
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            lsub
            lstore 1 /* n */
         5: .line 129
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            lload 1 /* n */
            ladd
            putfield org.hsqldb.types.ClobInputStream.currentPosition:J
         6: .line 131
            lload 1 /* n */
            lreturn
        end local 1 // long n
        end local 0 // org.hsqldb.types.ClobInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lorg/hsqldb/types/ClobInputStream;
            0    7     1     n  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      n     

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // org.hsqldb.types.ClobInputStream this
         0: .line 136
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.availableLength:J
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            lsub
            lstore 1 /* avail */
        start local 1 // long avail
         1: .line 138
            lload 1 /* avail */
            ldc 2147483647
            lcmp
            ifle 3
         2: .line 139
            ldc 2147483647
            ireturn
         3: .line 142
      StackMap locals: long
      StackMap stack:
            lload 1 /* avail */
            l2i
            ireturn
        end local 1 // long avail
        end local 0 // org.hsqldb.types.ClobInputStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/hsqldb/types/ClobInputStream;
            1    4     1  avail  J

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.hsqldb.types.ClobInputStream this
         0: .line 146
            aload 0 /* this */
            iconst_1
            putfield org.hsqldb.types.ClobInputStream.isClosed:Z
         1: .line 147
            return
        end local 0 // org.hsqldb.types.ClobInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/hsqldb/types/ClobInputStream;
    Exceptions:
      throws java.io.IOException

  private void checkClosed();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.hsqldb.types.ClobInputStream this
         0: .line 151
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.isClosed:Z
            ifeq 2
         1: .line 152
            new java.io.IOException
            dup
            sipush 1853
            invokestatic org.hsqldb.error.Error.getMessage:(I)Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 154
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.hsqldb.types.ClobInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/hsqldb/types/ClobInputStream;
    Exceptions:
      throws java.io.IOException

  private void readIntoBuffer();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=3, args_size=1
        start local 0 // org.hsqldb.types.ClobInputStream this
         0: .line 158
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.availableLength:J
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            lsub
            lstore 1 /* readLength */
        start local 1 // long readLength
         1: .line 160
            lload 1 /* readLength */
            lconst_0
            lcmp
            ifgt 3
         2: .line 161
            return
         3: .line 164
      StackMap locals: long
      StackMap stack:
            lload 1 /* readLength */
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.streamBlockSize:I
            i2l
            lcmp
            ifle 5
         4: .line 165
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.streamBlockSize:I
            i2l
            lstore 1 /* readLength */
         5: .line 168
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.clob:Lorg/hsqldb/types/ClobData;
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.session:Lorg/hsqldb/SessionInterface;
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            lload 1 /* readLength */
            l2i
            invokeinterface org.hsqldb.types.ClobData.getChars:(Lorg/hsqldb/SessionInterface;JI)[C
            putfield org.hsqldb.types.ClobInputStream.buffer:[C
         6: .line 169
            aload 0 /* this */
            aload 0 /* this */
            getfield org.hsqldb.types.ClobInputStream.currentPosition:J
            putfield org.hsqldb.types.ClobInputStream.bufferOffset:J
         7: .line 170
            return
        end local 1 // long readLength
        end local 0 // org.hsqldb.types.ClobInputStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0        this  Lorg/hsqldb/types/ClobInputStream;
            1    8     1  readLength  J

  static boolean isInLimits(long, long, long);
    descriptor: (JJJ)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=6, args_size=3
        start local 0 // long fullLength
        start local 2 // long pos
        start local 4 // long len
         0: .line 173
            lload 2 /* pos */
            lconst_0
            lcmp
            iflt 1
            lload 4 /* len */
            lconst_0
            lcmp
            iflt 1
            lload 2 /* pos */
            lload 4 /* len */
            ladd
            lload 0 /* fullLength */
            lcmp
            ifgt 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 4 // long len
        end local 2 // long pos
        end local 0 // long fullLength
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    2     0  fullLength  J
            0    2     2         pos  J
            0    2     4         len  J
    MethodParameters:
            Name  Flags
      fullLength  
      pos         
      len         
}
SourceFile: "ClobInputStream.java"