[WIP] Add serializer interface

Targets #161.
The pointer alone means you are bound the the concrete architecture concerning binary representation. `size_t` is defined for one architecture, so it's sane.