Coder Social home page Coder Social logo

libwandder's People

Contributors

gizmoguy avatar li-guy avatar pvanstam avatar salcock avatar tyler-marr avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

libwandder's Issues

Use PRI integer formatting to fix compile errors on Mac OS

int64_t and uint64_t are apparently long long on Mac OS, so our current formatting with a single l is insufficient for that system. This means that compilation on Mac OS fails unless the user adds in the extra l for each line where a compile error occurs.

But on Linux, these types are long so we can't just simply replace each l with ll -- we're going to need to use the PRI macros to ensure that the right formatting is applied for each operating system.

Add handling of large unsigned Integers for ETSILI

Two special cases in 102 232-3 and 102 232-4 which call for large unsigned Integers

octetsReceived [13] INTEGER (0..18446744073709551615) OPTIONAL,
-- The number of octets the target received
octetsTransmitted [14] INTEGER (0..18446744073709551615) OPTIONAL,
-- The number of octets the target transmitted

uthash.h

hi,
when running ./configure I am getting this error:
configure: error: Required header uthash.h not found; install uthash and try again

I downloaded added uthash.h and copied it to /usr/local/include and the local directory.
Still I get the same error.

Example of usage, pls

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.