You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I would like to use your library, but I have no idea how to write even a simple example. Could you provide such an example, please?
I wrote some lines of code:
int val = 13;
wandder_encoder_t *enc = init_wandder_encoder();
wandder_encode_next(enc, WANDDER_TAG_INTEGER, WANDDER_CLASS_UNIVERSAL_PRIMITIVE, 1, &val, sizeof(val));
auto result = wandder_encode_finish(enc);
free_wandder_encoder(enc);
but the result is the following:
Encode error: not enough space for value
a.out: src/encoder.c:739: encode_pending: Assertion `0' failed.
Aborted (core dumped)
The text was updated successfully, but these errors were encountered:
Hi,
I would like to use your library, but I have no idea how to write even a simple example. Could you provide such an example, please?
I wrote some lines of code:
but the result is the following:
The text was updated successfully, but these errors were encountered: