This can also be used as a binary serialization example.