Comments (3)
Maybe a IsValid()
method would be enough and we can assert in the constructor that it is indeed valid. That would be enough to check all used IDs are valid in debug builds.
from libebml.
Checking if an ID is valid would indeed be a great function to have. Would need some kind of top-level EbmlContext
to check against, I guess; with Matroska that would be the one from KaxSegment
.
from libebml.
Done in #230
from libebml.
Related Issues (20)
- Use [[nodiscard]] on some methods HOT 1
- FIx handling of broken UTF-8 data HOT 2
- Add the doctype(s)+version(s) an element is allowed in HOT 2
- run source through clang-format HOT 1
- Switch to C++17 HOT 4
- Handle reading empty elements
- Backport some fixes on 1.x HOT 1
- Stack corruption in EbmlElement.cpp MakeRenderHead() HOT 3
- find_if to find conversions HOT 4
- Move the size information in EbmlCallbacks HOT 2
- Show the CMake configuration at the end of configuration
- Add code coverage in the CI
- Use the EbmlDocVersion constraints when checking/adding mandatory elements
- Handle global elements as a list of EbmlCallbacks
- Use std::optional for element value+value is set
- Make ShouldWrite policy a state of each element
- make the library fully usable without RTTI
- allow reading at the top level with EbmlHead+doctype top elements HOT 1
- Add a Big Endian CI target
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 libebml.