Comments (2)
Hi @devinDevin, I cannot really tell without having the exact errors at hand, but it seems like you are trying to integrate the library by including the source code in your project.
That would definitely explain your first issue, since until v0.4, CBOR_BUFFER_GROWTH was only used for object compilation and was provided via compiler defines (-DCBOR_BUFFER_GROWTH
). This is now fixed.
For the second issue, I don't see a good reason why that should happen. Could you please provide more info?
Thank you for reporting this, and sorry about the late response.
from libcbor.
Closing this since the CBOR_BUFFER_GROWTH
has been resolved
from libcbor.
Related Issues (20)
- Hi @mghicho, not really, but the current encoders can be used to encode e.g. an array or a map in a streaming manner by calling e.g. `cbor_encode_indef_array_start` and then encoding individual items and terminating, flushing buffers as needed. What would the API you have in mind look like?
- precision with embedded type in cbor_encode_indef_array_start HOT 1
- AArch32 compatiblity issues HOT 5
- Improve Bazel support HOT 2
- BUG: CBOR Key/Value Arrays are interpreted correctly but do not deallocate correctly. HOT 7
- Improve documentation on memory management
- Travis CI broken
- half-precision float NaN loss of information (nitpicky) HOT 1
- Migrate Windows CI to Circle HOT 2
- Make cbor_encode_half respect NaN data bits
- Improve streaming parser documentation, especially for error state handling
- Improve test coverage of cbor_bytestring_add_chunk failure scenarios
- Add [[nodiscard]] attribute
- Broken encoding of empty byte strings in 0.10.0 HOT 1
- FR: Vectorization HOT 1
- test_serialize_4b_bytestring / test_serialize_8b_bytestring tests fail on 32-bit systems (size_t overflow) HOT 2
- Better documentation for memory management
- Documentation references RFC 7049, which has been replaced by RFC 8949 (STD94).
- Testing for musl HOT 3
- Signaling NaN encoding broken on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libcbor.