public class org.apache.avro.util.ReusableByteBufferInputStream extends java.io.InputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.avro.util.ReusableByteBufferInputStream
  super_class: java.io.InputStream
{
  private static final java.nio.ByteBuffer EMPTY_BUFFER;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private java.nio.ByteBuffer buffer;
    descriptor: Ljava/nio/ByteBuffer;
    flags: (0x0002) ACC_PRIVATE

  private int mark;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 28
            iconst_0
            invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
            putstatic org.apache.avro.util.ReusableByteBufferInputStream.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
         0: .line 26
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 30
            aload 0 /* this */
            getstatic org.apache.avro.util.ReusableByteBufferInputStream.EMPTY_BUFFER:Ljava/nio/ByteBuffer;
            putfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
         2: .line 31
            aload 0 /* this */
            iconst_0
            putfield org.apache.avro.util.ReusableByteBufferInputStream.mark:I
         3: .line 26
            return
        end local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/avro/util/ReusableByteBufferInputStream;

  public void setByteBuffer(java.nio.ByteBuffer);
    descriptor: (Ljava/nio/ByteBuffer;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
        start local 1 // java.nio.ByteBuffer buf
         0: .line 35
            aload 0 /* this */
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.duplicate:()Ljava/nio/ByteBuffer;
            putfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
         1: .line 36
            aload 0 /* this */
            aload 1 /* buf */
            invokevirtual java.nio.ByteBuffer.position:()I
            putfield org.apache.avro.util.ReusableByteBufferInputStream.mark:I
         2: .line 37
            return
        end local 1 // java.nio.ByteBuffer buf
        end local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/avro/util/ReusableByteBufferInputStream;
            0    3     1   buf  Ljava/nio/ByteBuffer;
    MethodParameters:
      Name  Flags
      buf   

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
         0: .line 41
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.hasRemaining:()Z
            ifeq 2
         1: .line 42
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.get:()B
            sipush 255
            iand
            ireturn
         2: .line 44
      StackMap locals:
      StackMap stack:
            iconst_m1
            ireturn
        end local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/avro/util/ReusableByteBufferInputStream;
    Exceptions:
      throws java.io.IOException

  public int read(byte[], int, int);
    descriptor: ([BII)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
        start local 1 // byte[] b
        start local 2 // int off
        start local 3 // int len
         0: .line 50
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            ifgt 2
         1: .line 51
            iconst_m1
            ireturn
         2: .line 54
      StackMap locals:
      StackMap stack:
            iload 3 /* len */
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            invokestatic java.lang.Math.min:(II)I
            istore 4 /* bytesToRead */
        start local 4 // int bytesToRead
         3: .line 55
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            aload 1 /* b */
            iload 2 /* off */
            iload 4 /* bytesToRead */
            invokevirtual java.nio.ByteBuffer.get:([BII)Ljava/nio/ByteBuffer;
            pop
         4: .line 56
            iload 4 /* bytesToRead */
            ireturn
        end local 4 // int bytesToRead
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] b
        end local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    5     0         this  Lorg/apache/avro/util/ReusableByteBufferInputStream;
            0    5     1            b  [B
            0    5     2          off  I
            0    5     3          len  I
            3    5     4  bytesToRead  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      b     
      off   
      len   

  public long skip(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=2
        start local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
        start local 1 // long n
         0: .line 61
            lload 1 /* n */
            lconst_0
            lcmp
            ifgt 2
         1: .line 63
            lconst_0
            lreturn
         2: .line 67
      StackMap locals:
      StackMap stack:
            lload 1 /* n */
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            i2l
            lcmp
            ifle 3
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.remaining:()I
            goto 4
      StackMap locals:
      StackMap stack:
         3: lload 1 /* n */
            l2i
      StackMap locals:
      StackMap stack: int
         4: istore 3 /* bytesToSkip */
        start local 3 // int bytesToSkip
         5: .line 68
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            iload 3 /* bytesToSkip */
            iadd
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         6: .line 69
            iload 3 /* bytesToSkip */
            i2l
            lreturn
        end local 3 // int bytesToSkip
        end local 1 // long n
        end local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    7     0         this  Lorg/apache/avro/util/ReusableByteBufferInputStream;
            0    7     1            n  J
            5    7     3  bytesToSkip  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      n     

  public synchronized void mark(int);
    descriptor: (I)V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
        start local 1 // int readLimit
         0: .line 77
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            invokevirtual java.nio.ByteBuffer.position:()I
            putfield org.apache.avro.util.ReusableByteBufferInputStream.mark:I
         1: .line 78
            return
        end local 1 // int readLimit
        end local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    2     0       this  Lorg/apache/avro/util/ReusableByteBufferInputStream;
            0    2     1  readLimit  I
    MethodParameters:
           Name  Flags
      readLimit  

  public synchronized void reset();
    descriptor: ()V
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
         0: .line 82
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.buffer:Ljava/nio/ByteBuffer;
            aload 0 /* this */
            getfield org.apache.avro.util.ReusableByteBufferInputStream.mark:I
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         1: .line 83
            return
        end local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/avro/util/ReusableByteBufferInputStream;
    Exceptions:
      throws java.io.IOException

  public boolean markSupported();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
         0: .line 87
            iconst_1
            ireturn
        end local 0 // org.apache.avro.util.ReusableByteBufferInputStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/avro/util/ReusableByteBufferInputStream;
}
SourceFile: "ReusableByteBufferInputStream.java"