Registry / serialization / scroll

scroll

JSON →
library0.13.0rscratesunverified

Endian-aware Read/Write traits for byte buffers with powerful extensibility.

# Cargo.toml [dependencies] scroll = "0.13.0"
INSTALL
IMPORT
SIG · SCROLL
S
scroll
serializationrustv0.13.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pread
use scroll::Pread;

Reads a u32 from a byte buffer using the Pread trait.

use scroll::Pread; fn main() { let bytes: &[u8] = &[0x01, 0x02, 0x03, 0x04]; let value: u32 = bytes.pread::<u32>(0).unwrap(); println!("Read value: {}", value); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.13.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
scroll — cargo add scroll · libregistry