Binary object serialization. Inpired by Procotol Buffers.