Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Header
byteObject type code, always 103
byteVersion, always 1
shortFlags, see below
intType id, Java-style hash code of the type name
intHash code, Java-style hash of contents without header, necessary for comparisons
intLength, including header
intSchema Id, see belowint
intSchema offset from the header start, position where fields end
BinaryObject * nFields
(int + int) * nSchema, fieldId (Java-style hash of field name) + offset (from header start)SchemaOffset, see below

 

Message format

All messages, request and response, including handshake, start with int message length (excluding these first 4 bytes). E.g. empty message would be represented by 4 zero bytes.

...