class org.h2.store.LobStorageRemoteInputStream extends java.io.InputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: org.h2.store.LobStorageRemoteInputStream
  super_class: java.io.InputStream
{
  private final org.h2.store.DataHandler handler;
    descriptor: Lorg/h2/store/DataHandler;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final long lob;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final byte[] hmac;
    descriptor: [B
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private long pos;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private long remainingBytes;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  public void <init>(org.h2.store.DataHandler, org.h2.value.ValueLobDb, byte[], long);
    descriptor: (Lorg/h2/store/DataHandler;Lorg/h2/value/ValueLobDb;[BJ)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=6, args_size=5
        start local 0 // org.h2.store.LobStorageRemoteInputStream this
        start local 1 // org.h2.store.DataHandler handler
        start local 2 // org.h2.value.ValueLobDb lob
        start local 3 // byte[] hmac
        start local 4 // long byteCount
         0: .line 41
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 43
            aload 0 /* this */
            aload 1 /* handler */
            putfield org.h2.store.LobStorageRemoteInputStream.handler:Lorg/h2/store/DataHandler;
         2: .line 44
            aload 0 /* this */
            aload 2 /* lob */
            invokevirtual org.h2.value.ValueLobDb.getLobId:()J
            putfield org.h2.store.LobStorageRemoteInputStream.lob:J
         3: .line 45
            aload 0 /* this */
            aload 3 /* hmac */
            putfield org.h2.store.LobStorageRemoteInputStream.hmac:[B
         4: .line 46
            aload 0 /* this */
            lload 4 /* byteCount */
            putfield org.h2.store.LobStorageRemoteInputStream.remainingBytes:J
         5: .line 47
            return
        end local 4 // long byteCount
        end local 3 // byte[] hmac
        end local 2 // org.h2.value.ValueLobDb lob
        end local 1 // org.h2.store.DataHandler handler
        end local 0 // org.h2.store.LobStorageRemoteInputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    6     0       this  Lorg/h2/store/LobStorageRemoteInputStream;
            0    6     1    handler  Lorg/h2/store/DataHandler;
            0    6     2        lob  Lorg/h2/value/ValueLobDb;
            0    6     3       hmac  [B
            0    6     4  byteCount  J
    MethodParameters:
           Name  Flags
      handler    
      lob        
      hmac       
      byteCount  

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // org.h2.store.LobStorageRemoteInputStream this
         0: .line 51
            iconst_1
            newarray 8
            astore 1 /* buff */
        start local 1 // byte[] buff
         1: .line 52
            aload 0 /* this */
            aload 1 /* buff */
            iconst_0
            iconst_1
            invokevirtual org.h2.store.LobStorageRemoteInputStream.read:([BII)I
            istore 2 /* len */
        start local 2 // int len
         2: .line 53
            iload 2 /* len */
            ifge 3
            iload 2 /* len */
            goto 4
      StackMap locals: byte[] int
      StackMap stack:
         3: aload 1 /* buff */
            iconst_0
            baload
            sipush 255
            iand
      StackMap locals:
      StackMap stack: int
         4: ireturn
        end local 2 // int len
        end local 1 // byte[] buff
        end local 0 // org.h2.store.LobStorageRemoteInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/h2/store/LobStorageRemoteInputStream;
            1    5     1  buff  [B
            2    5     2   len  I
    Exceptions:
      throws java.io.IOException

  public int read(byte[]);
    descriptor: ([B)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.h2.store.LobStorageRemoteInputStream this
        start local 1 // byte[] buff
         0: .line 58
            aload 0 /* this */
            aload 1 /* buff */
            iconst_0
            aload 1 /* buff */
            arraylength
            invokevirtual org.h2.store.LobStorageRemoteInputStream.read:([BII)I
            ireturn
        end local 1 // byte[] buff
        end local 0 // org.h2.store.LobStorageRemoteInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/h2/store/LobStorageRemoteInputStream;
            0    1     1  buff  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      buff  

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=9, locals=5, args_size=4
        start local 0 // org.h2.store.LobStorageRemoteInputStream this
        start local 1 // byte[] buff
        start local 2 // int off
        start local 3 // int length
         0: .line 63
            iload 3 /* length */
            ifne 2
         1: .line 64
            iconst_0
            ireturn
         2: .line 66
      StackMap locals:
      StackMap stack:
            iload 3 /* length */
            i2l
            aload 0 /* this */
            getfield org.h2.store.LobStorageRemoteInputStream.remainingBytes:J
            invokestatic java.lang.Math.min:(JJ)J
            l2i
            istore 3 /* length */
         3: .line 67
            iload 3 /* length */
            ifne 5
         4: .line 68
            iconst_m1
            ireturn
         5: .line 71
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.h2.store.LobStorageRemoteInputStream.handler:Lorg/h2/store/DataHandler;
            aload 0 /* this */
            getfield org.h2.store.LobStorageRemoteInputStream.lob:J
            aload 0 /* this */
            getfield org.h2.store.LobStorageRemoteInputStream.hmac:[B
            aload 0 /* this */
            getfield org.h2.store.LobStorageRemoteInputStream.pos:J
            aload 1 /* buff */
            iload 2 /* off */
            iload 3 /* length */
            invokeinterface org.h2.store.DataHandler.readLob:(J[BJ[BII)I
            istore 3 /* length */
         6: .line 72
            goto 9
      StackMap locals:
      StackMap stack: org.h2.message.DbException
         7: astore 4 /* e */
        start local 4 // org.h2.message.DbException e
         8: .line 73
            aload 4 /* e */
            invokestatic org.h2.message.DbException.convertToIOException:(Ljava/lang/Throwable;)Ljava/io/IOException;
            athrow
        end local 4 // org.h2.message.DbException e
         9: .line 75
      StackMap locals:
      StackMap stack:
            iload 3 /* length */
            ifne 11
        10: .line 76
            iconst_m1
            ireturn
        11: .line 78
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.h2.store.LobStorageRemoteInputStream.remainingBytes:J
            iload 3 /* length */
            i2l
            lsub
            putfield org.h2.store.LobStorageRemoteInputStream.remainingBytes:J
        12: .line 79
            aload 0 /* this */
            dup
            getfield org.h2.store.LobStorageRemoteInputStream.pos:J
            iload 3 /* length */
            i2l
            ladd
            putfield org.h2.store.LobStorageRemoteInputStream.pos:J
        13: .line 80
            iload 3 /* length */
            ireturn
        end local 3 // int length
        end local 2 // int off
        end local 1 // byte[] buff
        end local 0 // org.h2.store.LobStorageRemoteInputStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   14     0    this  Lorg/h2/store/LobStorageRemoteInputStream;
            0   14     1    buff  [B
            0   14     2     off  I
            0   14     3  length  I
            8    9     4       e  Lorg/h2/message/DbException;
      Exception table:
        from    to  target  type
           5     6       7  Class org.h2.message.DbException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      buff    
      off     
      length  

  public long skip(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.h2.store.LobStorageRemoteInputStream this
        start local 1 // long n
         0: .line 85
            aload 0 /* this */
            dup
            getfield org.h2.store.LobStorageRemoteInputStream.remainingBytes:J
            lload 1 /* n */
            lsub
            putfield org.h2.store.LobStorageRemoteInputStream.remainingBytes:J
         1: .line 86
            aload 0 /* this */
            dup
            getfield org.h2.store.LobStorageRemoteInputStream.pos:J
            lload 1 /* n */
            ladd
            putfield org.h2.store.LobStorageRemoteInputStream.pos:J
         2: .line 87
            lload 1 /* n */
            lreturn
        end local 1 // long n
        end local 0 // org.h2.store.LobStorageRemoteInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/h2/store/LobStorageRemoteInputStream;
            0    3     1     n  J
    MethodParameters:
      Name  Flags
      n     
}
SourceFile: "LobStorageRemoteInputStream.java"