dermesser / integer-encoding-rs

Integer encoding for primitive integer types: Supports varint/varint+zigzag and fixed-length integer encoding and decoding, and provides synchronous and asynchronous Write/Read types for easily writing/reading integers.
Other
66 stars 16 forks source link

Added `#![forbid(unsafe_code)]` #28

Closed jorgecarleitao closed 1 year ago

dermesser commented 2 years ago

Well it seems that due to from_raw_parts() and read_unaligned() calls, we still have some unsafe code.