An API for WireFormats which are used to turn object into bytes and bytes into objects.