public class org.bson.codecs.ByteCodec implements org.bson.codecs.Codec<java.lang.Byte>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bson.codecs.ByteCodec
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/ByteCodec;
public void encode(org.bson.BsonWriter, java.lang.Byte, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Ljava/lang/Byte;Lorg/bson/codecs/EncoderContext;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
invokevirtual java.lang.Byte.byteValue:()B
invokeinterface org.bson.BsonWriter.writeInt32:(I)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bson/codecs/ByteCodec;
0 2 1 writer Lorg/bson/BsonWriter;
0 2 2 value Ljava/lang/Byte;
0 2 3 encoderContext Lorg/bson/codecs/EncoderContext;
MethodParameters:
Name Flags
writer final
value final
encoderContext final
public java.lang.Byte decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Byte;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic org.bson.codecs.NumberCodecHelper.decodeInt:(Lorg/bson/BsonReader;)I
istore 3
start local 3 1: iload 3
bipush -128
if_icmplt 2
iload 3
bipush 127
if_icmple 3
2: StackMap locals: int
StackMap stack:
new org.bson.BsonInvalidOperationException
dup
ldc "%s can not be converted into a Byte."
iconst_1
anewarray java.lang.Object
dup
iconst_0
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.bson.BsonInvalidOperationException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals:
StackMap stack:
iload 3
i2b
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bson/codecs/ByteCodec;
0 4 1 reader Lorg/bson/BsonReader;
0 4 2 decoderContext Lorg/bson/codecs/DecoderContext;
1 4 3 value I
MethodParameters:
Name Flags
reader final
decoderContext final
public java.lang.Class<java.lang.Byte> getEncoderClass();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc Ljava/lang/Byte;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bson/codecs/ByteCodec;
Signature: ()Ljava/lang/Class<Ljava/lang/Byte;>;
public java.lang.Object decode(org.bson.BsonReader, org.bson.codecs.DecoderContext);
descriptor: (Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
aload 2
invokevirtual org.bson.codecs.ByteCodec.decode:(Lorg/bson/BsonReader;Lorg/bson/codecs/DecoderContext;)Ljava/lang/Byte;
areturn
LocalVariableTable:
Start End Slot Name Signature
public void encode(org.bson.BsonWriter, java.lang.Object, org.bson.codecs.EncoderContext);
descriptor: (Lorg/bson/BsonWriter;Ljava/lang/Object;Lorg/bson/codecs/EncoderContext;)V
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=4, locals=4, args_size=4
0: aload 0
aload 1
aload 2
checkcast java.lang.Byte
aload 3
invokevirtual org.bson.codecs.ByteCodec.encode:(Lorg/bson/BsonWriter;Ljava/lang/Byte;Lorg/bson/codecs/EncoderContext;)V
return
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/bson/codecs/Codec<Ljava/lang/Byte;>;
SourceFile: "ByteCodec.java"