Registry / utility / reinterpret

reinterpret

JSON →
library0.2.1rscratesunverified

Low level utility functions to reinterpret arrays of data as different types.

# Cargo.toml [dependencies] reinterpret = "0.2.1"
INSTALL
IMPORT
SIG · REINTERPRET
R
reinterpret
utilityrustv0.2.1
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.

reinterpret
✓ use reinterpret::reinterpret;

Reinterpret a byte slice as a u32 slice.

use reinterpret::reinterpret; let bytes: &[u8] = &[0x01, 0x02, 0x03, 0x04]; let ints: &[u32] = reinterpret(bytes); println!("{:?}", ints);
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
reinterpret — cargo add reinterpret · libregistry