FLOAT

Primitive.

objectType:

FLOAT = 3 ;

Description:

The FLOAT primitive object is used when you need to specify a single precision floating point number. It consists of the objectType Integer (the byte 03), followed by the four bytes that encode the IEEE float you are specifying.

Any idea what the spec is to reference here?

Internal format:

FloatPrimitiveObject {
    Integer objectType; // == FLOAT
    float value;
}

External format:

SerializedFloatPrimitiveObject {
    Integer objectType; // == FLOAT
    byte value[4];
}

Examples:

03 00 00 00   FLOAT 0.0
00

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