Coder Social home page Coder Social logo

cpp-nbt's People

Contributors

nickelpro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cpp-nbt's Issues

Support recovering from malformed/corrupt data

Right now cpp-nbt is only suitable for well-formed data, and similarly assumes that the user doesn't try to serialize a malformed NBT Tag.

Consider adding error handling to allow for recovering from malformed data and/or tags.

Encoding to and decoding from buffer(memory)

I found this library helpful and neat, but I am using nbt as a part of another binary format, so I hope to encode and decode from memory buffer instead of file streams. Please tell me how can I encode nbt to memory buffer, and decode a nbt from memory.

If this function is not implemented yet, I am willing to do it myself and open a pull request.

SBNT support

Common use-case for NBT is going to and from SNBT, need to support that serialization target

Get rid of pprint.hpp

pprint.hpp is a cool project that I'm barely using here, and there's no real reason to have another header that's twice the size of cpp-nbt when I could write a little stub of a printer to do the same job.

tons of errors?

i tried to compile with the header file, but it gives a ton of errors (over 750 lines)
errors.txt

Im compiling with MinGW G++ 11.1.0.

it doesnt work... compiler errors out

Hello! I'm tryna use your header file for a project, and the compiler spits 1000000 errors at me. I have simply used
#include "nbt.hpp" in my code to check if it work.

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.