public class org.jboss.resteasy.util.InputStreamToByteArray extends java.io.InputStream
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.jboss.resteasy.util.InputStreamToByteArray
  super_class: java.io.InputStream
{
  protected java.io.InputStream delegate;
    descriptor: Ljava/io/InputStream;
    flags: (0x0004) ACC_PROTECTED

  protected java.io.ByteArrayOutputStream os;
    descriptor: Ljava/io/ByteArrayOutputStream;
    flags: (0x0004) ACC_PROTECTED

  public void <init>(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
        start local 1 // java.io.InputStream delegate
         0: .line 18
            aload 0 /* this */
            invokespecial java.io.InputStream.<init>:()V
         1: .line 16
            aload 0 /* this */
            new java.io.ByteArrayOutputStream
            dup
            invokespecial java.io.ByteArrayOutputStream.<init>:()V
            putfield org.jboss.resteasy.util.InputStreamToByteArray.os:Ljava/io/ByteArrayOutputStream;
         2: .line 20
            aload 0 /* this */
            aload 1 /* delegate */
            putfield org.jboss.resteasy.util.InputStreamToByteArray.delegate:Ljava/io/InputStream;
         3: .line 21
            return
        end local 1 // java.io.InputStream delegate
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
            0    4     1  delegate  Ljava/io/InputStream;
    MethodParameters:
          Name  Flags
      delegate  

  public byte[] toByteArray();
    descriptor: ()[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
         0: .line 25
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.os:Ljava/io/ByteArrayOutputStream;
            invokevirtual java.io.ByteArrayOutputStream.toByteArray:()[B
            areturn
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jboss/resteasy/util/InputStreamToByteArray;

  public int read();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
         0: .line 32
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.delegate:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.read:()I
            istore 1 /* b */
        start local 1 // int b
         1: .line 33
            iload 1 /* b */
            iconst_m1
            if_icmple 3
         2: .line 34
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.os:Ljava/io/ByteArrayOutputStream;
            iload 1 /* b */
            i2b
            invokevirtual java.io.ByteArrayOutputStream.write:(I)V
         3: .line 35
      StackMap locals: int
      StackMap stack:
            iload 1 /* b */
            ireturn
        end local 1 // int b
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
            1    4     1     b  I
    Exceptions:
      throws java.io.IOException

  public int read(byte[]);
    descriptor: ([B)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
        start local 1 // byte[] bytes
         0: .line 42
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.delegate:Ljava/io/InputStream;
            aload 1 /* bytes */
            invokevirtual java.io.InputStream.read:([B)I
            istore 2 /* num */
        start local 2 // int num
         1: .line 43
            iload 2 /* num */
            ifle 3
         2: .line 45
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.os:Ljava/io/ByteArrayOutputStream;
            aload 1 /* bytes */
            iconst_0
            iload 2 /* num */
            invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
         3: .line 47
      StackMap locals: int
      StackMap stack:
            iload 2 /* num */
            ireturn
        end local 2 // int num
        end local 1 // byte[] bytes
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
            0    4     1  bytes  [B
            1    4     2    num  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      bytes  

  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.jboss.resteasy.util.InputStreamToByteArray this
        start local 1 // byte[] bytes
        start local 2 // int off
        start local 3 // int len
         0: .line 54
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.delegate:Ljava/io/InputStream;
            aload 1 /* bytes */
            iload 2 /* off */
            iload 3 /* len */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 4 /* num */
        start local 4 // int num
         1: .line 55
            iload 4 /* num */
            ifle 3
         2: .line 57
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.os:Ljava/io/ByteArrayOutputStream;
            aload 1 /* bytes */
            iload 2 /* off */
            iload 4 /* num */
            invokevirtual java.io.ByteArrayOutputStream.write:([BII)V
         3: .line 59
      StackMap locals: int
      StackMap stack:
            iload 4 /* num */
            ireturn
        end local 4 // int num
        end local 3 // int len
        end local 2 // int off
        end local 1 // byte[] bytes
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    4     0   this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
            0    4     1  bytes  [B
            0    4     2    off  I
            0    4     3    len  I
            1    4     4    num  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      bytes  
      off    
      len    

  public long skip(long);
    descriptor: (J)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
        start local 1 // long l
         0: .line 66
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.delegate:Ljava/io/InputStream;
            lload 1 /* l */
            invokevirtual java.io.InputStream.skip:(J)J
            lreturn
        end local 1 // long l
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
            0    1     1     l  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      l     

  public int available();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
         0: .line 73
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.delegate:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.available:()I
            ireturn
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
    Exceptions:
      throws java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
         0: .line 80
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.delegate:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.close:()V
         1: .line 81
            return
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
    Exceptions:
      throws java.io.IOException

  public void mark(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
        start local 1 // int i
         0: .line 86
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.delegate:Ljava/io/InputStream;
            iload 1 /* i */
            invokevirtual java.io.InputStream.mark:(I)V
         1: .line 87
            return
        end local 1 // int i
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
            0    2     1     i  I
    MethodParameters:
      Name  Flags
      i     

  public void reset();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
         0: .line 93
            new java.lang.RuntimeException
            dup
            getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
            invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.streamWrappedBySignature:()Ljava/lang/String;
            invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
    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.jboss.resteasy.util.InputStreamToByteArray this
         0: .line 99
            aload 0 /* this */
            getfield org.jboss.resteasy.util.InputStreamToByteArray.delegate:Ljava/io/InputStream;
            invokevirtual java.io.InputStream.markSupported:()Z
            ireturn
        end local 0 // org.jboss.resteasy.util.InputStreamToByteArray this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/jboss/resteasy/util/InputStreamToByteArray;
}
SourceFile: "InputStreamToByteArray.java"