-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add BufReader wrapper with performance enhancements #141
Add BufReader wrapper with performance enhancements #141
Conversation
579d762
to
de07dec
Compare
Could you add some examples of how to sprinkle this magic on top of a struct. |
The API is nearly identical to |
@@ -4,11 +4,15 @@ | |||
//! used by binrw. In no_std environments, a compatible subset API is exposed | |||
//! instead. | |||
|
|||
#[cfg(feature = "std")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a reason our BufReader implementation is not available for no_std users?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See #143 for future work
Thank you, makes sense. For my platform, that's an exercise on its own! |
Do you like fast reads? Well then you’ll like this new thing probably.