public class org.bson.LazyBSONDecoder implements org.bson.BSONDecoder
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.bson.LazyBSONDecoder
  super_class: java.lang.Object
{
  private static final int BYTES_IN_INTEGER;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.bson.LazyBSONDecoder this
         0: .line 29
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.bson.LazyBSONDecoder this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/bson/LazyBSONDecoder;

  public org.bson.BSONObject readObject(byte[]);
    descriptor: ([B)Lorg/bson/BSONObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.bson.LazyBSONDecoder this
        start local 1 // byte[] bytes
         0: .line 34
            new org.bson.LazyBSONCallback
            dup
            invokespecial org.bson.LazyBSONCallback.<init>:()V
            astore 2 /* bsonCallback */
        start local 2 // org.bson.BSONCallback bsonCallback
         1: .line 35
            aload 0 /* this */
            aload 1 /* bytes */
            aload 2 /* bsonCallback */
            invokevirtual org.bson.LazyBSONDecoder.decode:([BLorg/bson/BSONCallback;)I
            pop
         2: .line 36
            aload 2 /* bsonCallback */
            invokeinterface org.bson.BSONCallback.get:()Ljava/lang/Object;
            checkcast org.bson.BSONObject
            areturn
        end local 2 // org.bson.BSONCallback bsonCallback
        end local 1 // byte[] bytes
        end local 0 // org.bson.LazyBSONDecoder this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0          this  Lorg/bson/LazyBSONDecoder;
            0    3     1         bytes  [B
            1    3     2  bsonCallback  Lorg/bson/BSONCallback;
    MethodParameters:
       Name  Flags
      bytes  final

  public org.bson.BSONObject readObject(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)Lorg/bson/BSONObject;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // org.bson.LazyBSONDecoder this
        start local 1 // java.io.InputStream in
         0: .line 41
            new org.bson.LazyBSONCallback
            dup
            invokespecial org.bson.LazyBSONCallback.<init>:()V
            astore 2 /* bsonCallback */
        start local 2 // org.bson.BSONCallback bsonCallback
         1: .line 42
            aload 0 /* this */
            aload 1 /* in */
            aload 2 /* bsonCallback */
            invokevirtual org.bson.LazyBSONDecoder.decode:(Ljava/io/InputStream;Lorg/bson/BSONCallback;)I
            pop
         2: .line 43
            aload 2 /* bsonCallback */
            invokeinterface org.bson.BSONCallback.get:()Ljava/lang/Object;
            checkcast org.bson.BSONObject
            areturn
        end local 2 // org.bson.BSONCallback bsonCallback
        end local 1 // java.io.InputStream in
        end local 0 // org.bson.LazyBSONDecoder this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    3     0          this  Lorg/bson/LazyBSONDecoder;
            0    3     1            in  Ljava/io/InputStream;
            1    3     2  bsonCallback  Lorg/bson/BSONCallback;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      in    final

  public int decode(byte[], org.bson.BSONCallback);
    descriptor: ([BLorg/bson/BSONCallback;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // org.bson.LazyBSONDecoder this
        start local 1 // byte[] bytes
        start local 2 // org.bson.BSONCallback callback
         0: .line 49
            aload 0 /* this */
            new java.io.ByteArrayInputStream
            dup
            aload 1 /* bytes */
            invokespecial java.io.ByteArrayInputStream.<init>:([B)V
            aload 2 /* callback */
            invokevirtual org.bson.LazyBSONDecoder.decode:(Ljava/io/InputStream;Lorg/bson/BSONCallback;)I
         1: ireturn
         2: .line 50
      StackMap locals:
      StackMap stack: java.io.IOException
            astore 3 /* e */
        start local 3 // java.io.IOException e
         3: .line 51
            new org.bson.BSONException
            dup
            ldc "Invalid bytes received"
            aload 3 /* e */
            invokespecial org.bson.BSONException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 3 // java.io.IOException e
        end local 2 // org.bson.BSONCallback callback
        end local 1 // byte[] bytes
        end local 0 // org.bson.LazyBSONDecoder this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lorg/bson/LazyBSONDecoder;
            0    4     1     bytes  [B
            0    4     2  callback  Lorg/bson/BSONCallback;
            3    4     3         e  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           0     1       2  Class java.io.IOException
    MethodParameters:
          Name  Flags
      bytes     final
      callback  final

  public int decode(java.io.InputStream, org.bson.BSONCallback);
    descriptor: (Ljava/io/InputStream;Lorg/bson/BSONCallback;)I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=3
        start local 0 // org.bson.LazyBSONDecoder this
        start local 1 // java.io.InputStream in
        start local 2 // org.bson.BSONCallback callback
         0: .line 57
            iconst_4
            newarray 8
            astore 3 /* documentSizeBuffer */
        start local 3 // byte[] documentSizeBuffer
         1: .line 58
            aload 1 /* in */
            aload 3 /* documentSizeBuffer */
            invokestatic org.bson.io.Bits.readInt:(Ljava/io/InputStream;[B)I
            istore 4 /* documentSize */
        start local 4 // int documentSize
         2: .line 59
            aload 3 /* documentSizeBuffer */
            iload 4 /* documentSize */
            invokestatic java.util.Arrays.copyOf:([BI)[B
            astore 5 /* documentBytes */
        start local 5 // byte[] documentBytes
         3: .line 60
            aload 1 /* in */
            aload 5 /* documentBytes */
            iconst_4
            iload 4 /* documentSize */
            iconst_4
            isub
            invokestatic org.bson.io.Bits.readFully:(Ljava/io/InputStream;[BII)V
         4: .line 63
            aload 2 /* callback */
            aconst_null
            iconst_0
            aload 5 /* documentBytes */
            invokeinterface org.bson.BSONCallback.gotBinary:(Ljava/lang/String;B[B)V
         5: .line 64
            iload 4 /* documentSize */
            ireturn
        end local 5 // byte[] documentBytes
        end local 4 // int documentSize
        end local 3 // byte[] documentSizeBuffer
        end local 2 // org.bson.BSONCallback callback
        end local 1 // java.io.InputStream in
        end local 0 // org.bson.LazyBSONDecoder this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0    6     0                this  Lorg/bson/LazyBSONDecoder;
            0    6     1                  in  Ljava/io/InputStream;
            0    6     2            callback  Lorg/bson/BSONCallback;
            1    6     3  documentSizeBuffer  [B
            2    6     4        documentSize  I
            3    6     5       documentBytes  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      in        final
      callback  final
}
SourceFile: "LazyBSONDecoder.java"