cmp icon indicating copy to clipboard operation
cmp copied to clipboard

An implementation of the MessagePack serialization format in C / msgpack.org[C]

Results 4 cmp issues
Sort by recently updated
recently updated
newest added

The read/write functions are not symmetric and confusing: ```c bool cmp_write_integer(cmp_ctx_t *ctx, int64_t d); bool cmp_read_int(cmp_ctx_t *ctx, int32_t *i); bool cmp_read_long(cmp_ctx_t *ctx, int64_t *u); bool cmp_read_integer(cmp_ctx_t *ctx, int64_t *u); ```...

enhancement

As I see, currently to read a huge binary data, they need to be written to the buffer by reading function. What I would like to have is to get...

enhancement

Semantics of postfix-increment are to return the value it had before the increment, encouraging code like `f(..., b++)`, which is better written as `f(..., b); ++b;` to avoid doing too...

If our read or skip callback reports an error here we should return immediately, rather than ignoring the error.