Versions Compared

Key

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

...

Code Block
languagejava
Headers (bytes) => Set(Key, ValueLength, Value)
  Set =>
	Key => Typed <---------------------- NEW int key of the header
    Value => Typed <-------------------- NEW serialised form of the header value

Typed
	Type => byte <---------------------- 0x00 = null
										 0x01 = boolean=true
                                         0x02 = boolean=false
                                         0x03 = byte
                                         0x04 = char
                                         0x05 = short (int16)
                                         0x06 = integerint (int32)
                                         0x07 = long (int64)
                                         0x08 = float
                                         0x09 = double
                                         0x0A = string
                                         0x0B = byte[]
    Bytes => bytes <-------------------- NEW byte array holding the corresponding value in byte array form, 
										 0x00-0x002 - null and boolean this will be zero length
                                         0x03-0x09 - will be the type length 
                                         0x0A-0x0B - string and byte this will contain the leading int32 length of the byte array.
 
 

...