Comments (4)
from byteorder.
If the function inlines, then yes. Seems like I didn't make myself clear that I was referring to statically proving that the code can't panic.
I prefer discovering bugs during compilation.
from byteorder.
Yeah, I'm not on board with that. I don't value type safety above everything else. In this case, you're talking about doubling the size of the current API.
When const generics lands, we can revisit this.
from byteorder.
OK, thanks for reply!
from byteorder.
Related Issues (20)
- Add `read_u40` HOT 1
- Using byteorder with type definitions HOT 1
- upgrade quickcheck to 1.0
- panic in try from slice HOT 4
- Changelog is not up to date
- Document MSRV HOT 1
- Rust is failing to find type definitions or enumerations HOT 2
- Consider supporting outdated Rust versions to make bincode happy HOT 1
- Add impl of `ReadBytesExt` and `WriteBytesExt` for `core2::io::Write` HOT 7
- Implement `read_usize` HOT 5
- Transparently support reading into arrays of types that are byte-compatible with integers HOT 1
- Endianness-managing Read/Write wrapper? HOT 2
- add ReadFrom and WriteTo traits with a derive macro HOT 1
- Any difference to Rust official functions? HOT 1
- Unsound assumption about the alignment of u32 and f32
- write_i64 does not write to the buffer HOT 2
- [Bug] Some unknown error caused by byteorder 1.5.0 HOT 1
- Expose `#[forbid(unsafe_code)]` subset HOT 3
- write_int never panics on out of range input
- Unsound usages of unsafe implementation from `[T]` to `[u8]` HOT 5
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 byteorder.