-
Serialization and deserialization are asymetrical: ser uses string literals and de uses a dedicated `struct`, leading to possible inconsistencies. The idea is to rely on a single `struct` for both ser and de. The only problem is that, in order to avoid unneeded copies, `buffer` requires an owned `ByteBuf` for de and a borrowed `Bytes` for ser. `Either` could help adapting to both situations.
68263ffc