Skip to content

enum mpack_type_t only exposes only biggest int and uint type #35

@xor-gate

Description

@xor-gate

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions