Currently i'm implementing strict protocol checking on the messagepack transport. Only the mpack_type_t exposes int or uint types (8,16,32 -> 64 upcasted). But messagepack has much more types. For our current protocol we have to check if the value of a key is strict uint8_t but this is currently not possible with mpack. My suggestion would be to have a small API breakage and add all uint* and int* sizes. And still put the value in the uint64_t, int64_t in the union. What do you think?
Currently i'm implementing strict protocol checking on the messagepack transport. Only the mpack_type_t exposes int or uint types (8,16,32 -> 64 upcasted). But messagepack has much more types. For our current protocol we have to check if the value of a key is strict uint8_t but this is currently not possible with mpack. My suggestion would be to have a small API breakage and add all uint* and int* sizes. And still put the value in the uint64_t, int64_t in the union. What do you think?