public class io.netty.handler.stream.ChunkedFile implements io.netty.handler.stream.ChunkedInput<io.netty.buffer.ByteBuf>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: io.netty.handler.stream.ChunkedFile
  super_class: java.lang.Object
{
  private final java.io.RandomAccessFile file;
    descriptor: Ljava/io/RandomAccessFile;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

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

  private final int chunkSize;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  public void <init>(java.io.File);
    descriptor: (Ljava/io/File;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.netty.handler.stream.ChunkedFile this
        start local 1 // java.io.File file
         0: .line 46
            aload 0 /* this */
            aload 1 /* file */
            sipush 8192
            invokespecial io.netty.handler.stream.ChunkedFile.<init>:(Ljava/io/File;I)V
         1: .line 47
            return
        end local 1 // java.io.File file
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/netty/handler/stream/ChunkedFile;
            0    2     1  file  Ljava/io/File;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      file  

  public void <init>(java.io.File, int);
    descriptor: (Ljava/io/File;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=3
        start local 0 // io.netty.handler.stream.ChunkedFile this
        start local 1 // java.io.File file
        start local 2 // int chunkSize
         0: .line 56
            aload 0 /* this */
            new java.io.RandomAccessFile
            dup
            aload 1 /* file */
            ldc "r"
            invokespecial java.io.RandomAccessFile.<init>:(Ljava/io/File;Ljava/lang/String;)V
            iload 2 /* chunkSize */
            invokespecial io.netty.handler.stream.ChunkedFile.<init>:(Ljava/io/RandomAccessFile;I)V
         1: .line 57
            return
        end local 2 // int chunkSize
        end local 1 // java.io.File file
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lio/netty/handler/stream/ChunkedFile;
            0    2     1       file  Ljava/io/File;
            0    2     2  chunkSize  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      file       
      chunkSize  

  public void <init>(java.io.RandomAccessFile);
    descriptor: (Ljava/io/RandomAccessFile;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // io.netty.handler.stream.ChunkedFile this
        start local 1 // java.io.RandomAccessFile file
         0: .line 63
            aload 0 /* this */
            aload 1 /* file */
            sipush 8192
            invokespecial io.netty.handler.stream.ChunkedFile.<init>:(Ljava/io/RandomAccessFile;I)V
         1: .line 64
            return
        end local 1 // java.io.RandomAccessFile file
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/netty/handler/stream/ChunkedFile;
            0    2     1  file  Ljava/io/RandomAccessFile;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      file  

  public void <init>(java.io.RandomAccessFile, int);
    descriptor: (Ljava/io/RandomAccessFile;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=3, args_size=3
        start local 0 // io.netty.handler.stream.ChunkedFile this
        start local 1 // java.io.RandomAccessFile file
        start local 2 // int chunkSize
         0: .line 73
            aload 0 /* this */
            aload 1 /* file */
            lconst_0
            aload 1 /* file */
            invokevirtual java.io.RandomAccessFile.length:()J
            iload 2 /* chunkSize */
            invokespecial io.netty.handler.stream.ChunkedFile.<init>:(Ljava/io/RandomAccessFile;JJI)V
         1: .line 74
            return
        end local 2 // int chunkSize
        end local 1 // java.io.RandomAccessFile file
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lio/netty/handler/stream/ChunkedFile;
            0    2     1       file  Ljava/io/RandomAccessFile;
            0    2     2  chunkSize  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      file       
      chunkSize  

  public void <init>(java.io.RandomAccessFile, long, long, int);
    descriptor: (Ljava/io/RandomAccessFile;JJI)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=5
        start local 0 // io.netty.handler.stream.ChunkedFile this
        start local 1 // java.io.RandomAccessFile file
        start local 2 // long offset
        start local 4 // long length
        start local 6 // int chunkSize
         0: .line 84
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 85
            aload 1 /* file */
            ifnonnull 3
         2: .line 86
            new java.lang.NullPointerException
            dup
            ldc "file"
            invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 88
      StackMap locals: io.netty.handler.stream.ChunkedFile java.io.RandomAccessFile long long int
      StackMap stack:
            lload 2 /* offset */
            lconst_0
            lcmp
            ifge 7
         4: .line 89
            new java.lang.IllegalArgumentException
            dup
         5: .line 90
            new java.lang.StringBuilder
            dup
            ldc "offset: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 2 /* offset */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " (expected: 0 or greater)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
         6: .line 89
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 92
      StackMap locals:
      StackMap stack:
            lload 4 /* length */
            lconst_0
            lcmp
            ifge 11
         8: .line 93
            new java.lang.IllegalArgumentException
            dup
         9: .line 94
            new java.lang.StringBuilder
            dup
            ldc "length: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            lload 4 /* length */
            invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
            ldc " (expected: 0 or greater)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        10: .line 93
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 96
      StackMap locals:
      StackMap stack:
            iload 6 /* chunkSize */
            ifgt 17
        12: .line 97
            new java.lang.IllegalArgumentException
            dup
        13: .line 98
            new java.lang.StringBuilder
            dup
            ldc "chunkSize: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 6 /* chunkSize */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        14: .line 99
            ldc " (expected: a positive integer)"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
        15: .line 98
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        16: .line 97
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        17: .line 102
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* file */
            putfield io.netty.handler.stream.ChunkedFile.file:Ljava/io/RandomAccessFile;
        18: .line 103
            aload 0 /* this */
            aload 0 /* this */
            lload 2 /* offset */
            dup2_x1
            putfield io.netty.handler.stream.ChunkedFile.startOffset:J
            putfield io.netty.handler.stream.ChunkedFile.offset:J
        19: .line 104
            aload 0 /* this */
            lload 2 /* offset */
            lload 4 /* length */
            ladd
            putfield io.netty.handler.stream.ChunkedFile.endOffset:J
        20: .line 105
            aload 0 /* this */
            iload 6 /* chunkSize */
            putfield io.netty.handler.stream.ChunkedFile.chunkSize:I
        21: .line 107
            aload 1 /* file */
            lload 2 /* offset */
            invokevirtual java.io.RandomAccessFile.seek:(J)V
        22: .line 108
            return
        end local 6 // int chunkSize
        end local 4 // long length
        end local 2 // long offset
        end local 1 // java.io.RandomAccessFile file
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   23     0       this  Lio/netty/handler/stream/ChunkedFile;
            0   23     1       file  Ljava/io/RandomAccessFile;
            0   23     2     offset  J
            0   23     4     length  J
            0   23     6  chunkSize  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      file       
      offset     
      length     
      chunkSize  

  public long startOffset();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.netty.handler.stream.ChunkedFile this
         0: .line 114
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.startOffset:J
            lreturn
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/netty/handler/stream/ChunkedFile;

  public long endOffset();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.netty.handler.stream.ChunkedFile this
         0: .line 121
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.endOffset:J
            lreturn
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/netty/handler/stream/ChunkedFile;

  public long currentOffset();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // io.netty.handler.stream.ChunkedFile this
         0: .line 128
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.offset:J
            lreturn
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/netty/handler/stream/ChunkedFile;

  public boolean isEndOfInput();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // io.netty.handler.stream.ChunkedFile this
         0: .line 133
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.offset:J
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.endOffset:J
            lcmp
            ifge 1
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.file:Ljava/io/RandomAccessFile;
            invokevirtual java.io.RandomAccessFile.getChannel:()Ljava/nio/channels/FileChannel;
            invokevirtual java.nio.channels.FileChannel.isOpen:()Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lio/netty/handler/stream/ChunkedFile;
    Exceptions:
      throws java.lang.Exception

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.netty.handler.stream.ChunkedFile this
         0: .line 138
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.file:Ljava/io/RandomAccessFile;
            invokevirtual java.io.RandomAccessFile.close:()V
         1: .line 139
            return
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/netty/handler/stream/ChunkedFile;
    Exceptions:
      throws java.lang.Exception

  public io.netty.buffer.ByteBuf readChunk(io.netty.channel.ChannelHandlerContext);
    descriptor: (Lio/netty/channel/ChannelHandlerContext;)Lio/netty/buffer/ByteBuf;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.netty.handler.stream.ChunkedFile this
        start local 1 // io.netty.channel.ChannelHandlerContext ctx
         0: .line 144
            aload 0 /* this */
            aload 1 /* ctx */
            invokeinterface io.netty.channel.ChannelHandlerContext.alloc:()Lio/netty/buffer/ByteBufAllocator;
            invokevirtual io.netty.handler.stream.ChunkedFile.readChunk:(Lio/netty/buffer/ByteBufAllocator;)Lio/netty/buffer/ByteBuf;
            areturn
        end local 1 // io.netty.channel.ChannelHandlerContext ctx
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/netty/handler/stream/ChunkedFile;
            0    1     1   ctx  Lio/netty/channel/ChannelHandlerContext;
    Exceptions:
      throws java.lang.Exception
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
      Name  Flags
      ctx   

  public io.netty.buffer.ByteBuf readChunk(io.netty.buffer.ByteBufAllocator);
    descriptor: (Lio/netty/buffer/ByteBufAllocator;)Lio/netty/buffer/ByteBuf;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=9, args_size=2
        start local 0 // io.netty.handler.stream.ChunkedFile this
        start local 1 // io.netty.buffer.ByteBufAllocator allocator
         0: .line 149
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.offset:J
            lstore 2 /* offset */
        start local 2 // long offset
         1: .line 150
            lload 2 /* offset */
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.endOffset:J
            lcmp
            iflt 3
         2: .line 151
            aconst_null
            areturn
         3: .line 154
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.chunkSize:I
            i2l
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.endOffset:J
            lload 2 /* offset */
            lsub
            invokestatic java.lang.Math.min:(JJ)J
            l2i
            istore 4 /* chunkSize */
        start local 4 // int chunkSize
         4: .line 157
            aload 1 /* allocator */
            iload 4 /* chunkSize */
            invokeinterface io.netty.buffer.ByteBufAllocator.heapBuffer:(I)Lio/netty/buffer/ByteBuf;
            astore 5 /* buf */
        start local 5 // io.netty.buffer.ByteBuf buf
         5: .line 158
            iconst_1
            istore 6 /* release */
        start local 6 // boolean release
         6: .line 160
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.file:Ljava/io/RandomAccessFile;
            aload 5 /* buf */
            invokevirtual io.netty.buffer.ByteBuf.array:()[B
            aload 5 /* buf */
            invokevirtual io.netty.buffer.ByteBuf.arrayOffset:()I
            iload 4 /* chunkSize */
            invokevirtual java.io.RandomAccessFile.readFully:([BII)V
         7: .line 161
            aload 5 /* buf */
            iload 4 /* chunkSize */
            invokevirtual io.netty.buffer.ByteBuf.writerIndex:(I)Lio/netty/buffer/ByteBuf;
            pop
         8: .line 162
            aload 0 /* this */
            lload 2 /* offset */
            iload 4 /* chunkSize */
            i2l
            ladd
            putfield io.netty.handler.stream.ChunkedFile.offset:J
         9: .line 163
            iconst_0
            istore 6 /* release */
        10: .line 164
            aload 5 /* buf */
            astore 8
        11: .line 166
            iload 6 /* release */
            ifeq 13
        12: .line 167
            aload 5 /* buf */
            invokevirtual io.netty.buffer.ByteBuf.release:()Z
            pop
        13: .line 164
      StackMap locals: io.netty.handler.stream.ChunkedFile io.netty.buffer.ByteBufAllocator long int io.netty.buffer.ByteBuf int top io.netty.buffer.ByteBuf
      StackMap stack:
            aload 8
            areturn
        14: .line 165
      StackMap locals: io.netty.handler.stream.ChunkedFile io.netty.buffer.ByteBufAllocator long int io.netty.buffer.ByteBuf int
      StackMap stack: java.lang.Throwable
            astore 7
        15: .line 166
            iload 6 /* release */
            ifeq 17
        16: .line 167
            aload 5 /* buf */
            invokevirtual io.netty.buffer.ByteBuf.release:()Z
            pop
        17: .line 169
      StackMap locals: java.lang.Throwable
      StackMap stack:
            aload 7
            athrow
        end local 6 // boolean release
        end local 5 // io.netty.buffer.ByteBuf buf
        end local 4 // int chunkSize
        end local 2 // long offset
        end local 1 // io.netty.buffer.ByteBufAllocator allocator
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   18     0       this  Lio/netty/handler/stream/ChunkedFile;
            0   18     1  allocator  Lio/netty/buffer/ByteBufAllocator;
            1   18     2     offset  J
            4   18     4  chunkSize  I
            5   18     5        buf  Lio/netty/buffer/ByteBuf;
            6   18     6    release  Z
      Exception table:
        from    to  target  type
           6    11      14  any
    Exceptions:
      throws java.lang.Exception
    MethodParameters:
           Name  Flags
      allocator  

  public long length();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // io.netty.handler.stream.ChunkedFile this
         0: .line 174
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.endOffset:J
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.startOffset:J
            lsub
            lreturn
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/netty/handler/stream/ChunkedFile;

  public long progress();
    descriptor: ()J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // io.netty.handler.stream.ChunkedFile this
         0: .line 179
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.offset:J
            aload 0 /* this */
            getfield io.netty.handler.stream.ChunkedFile.startOffset:J
            lsub
            lreturn
        end local 0 // io.netty.handler.stream.ChunkedFile this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lio/netty/handler/stream/ChunkedFile;

  public java.lang.Object readChunk(io.netty.buffer.ByteBufAllocator);
    descriptor: (Lio/netty/buffer/ByteBufAllocator;)Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.netty.handler.stream.ChunkedFile.readChunk:(Lio/netty/buffer/ByteBufAllocator;)Lio/netty/buffer/ByteBuf;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception

  public java.lang.Object readChunk(io.netty.channel.ChannelHandlerContext);
    descriptor: (Lio/netty/channel/ChannelHandlerContext;)Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.netty.handler.stream.ChunkedFile.readChunk:(Lio/netty/channel/ChannelHandlerContext;)Lio/netty/buffer/ByteBuf;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception
}
Signature: Ljava/lang/Object;Lio/netty/handler/stream/ChunkedInput<Lio/netty/buffer/ByteBuf;>;
SourceFile: "ChunkedFile.java"