DOUBLE

Primitive.

objectType:

DOUBLE = 4 ;

Description:

The DOUBLE primitive object is used when you need to specify a double precision floating point number. It consists of the objectType Integer (the byte 04), followed by the eight bytes that encode the IEEE double you are specifying.

Any idea what the spec is to reference here?

Internal format:

DoublePrimitiveObject {
    Integer objectType; // == DOUBLE
    double value;
}

External format:

SerializedDoublePrimitiveObject {
    Integer objectType; // == DOUBLE
    byte value[8];
}

Examples:

04 00 00 00    DOUBLE 0.0
00 00 00 00
00

// is this right? should include a few more.