Comments (2)
Since #61 has been merged, this could be done by:
- Add a new type
ByteSize
- Add specialization like
impl DekuRead<ByteSize> for xxx
- bytes uses type
ByteSize
, bits uses typeBitSize
, then compiler will decide which impl should be called.
from deku.
Great idea, I'd like to see a better suite of benchmarks before this is tackled so we can measure the difference
from deku.
Related Issues (20)
- Cannot specify struct endianness when a nested struct field is present HOT 2
- deku_derive fails when combined with cfg_attr
- RFC: API breaking performance improvement
- Question: Is it possible to parse this bit layout? HOT 16
- Feature request: Have DekuError give position of errors when possible
- Update darling; Use syn 2
- Typo in comment
- Bump edition to Rust 2021
- Document all features HOT 1
- Experiment with nightly const-trait-impl
- Document the "logging" feature (was "Debugging faciility") HOT 7
- Is there a way to get the current index of a sub-parser in a vec in the parent parser? HOT 5
- derive(DekuRead) fails if struct has a field named `rest`
- How to use the size in an inner struct HOT 3
- update attribute not working on internal struct? HOT 3
- Is there a built in way to read/write a vector of bits/bool? HOT 3
- bit order in reader HOT 6
- Single value enum HOT 2
- Deku doesn't compile on ESP32 no-std HOT 3
- Missing support for core::net::Ipv4Addr/etc. HOT 1
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 deku.