Registry / utility / random-access-memory

random-access-memory

JSON →
library3.0.0rscratesunverified

Continuously read and write to memory using random offsets and lengths.

# Cargo.toml [dependencies] random-access-memory = "3.0.0"
INSTALL
IMPORT
SIG · RANDOM-ACCESS-MEMO
R
random-access-memory
utilityrustv3.0.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.

RandomAccessMemory
use random_access_memory::RandomAccessMemory;

Create a memory-backed random-access store and perform reads/writes.

use random_access_memory::RandomAccessMemory; fn main() { let mut store = RandomAccessMemory::new(1024); store.write(0, b"hello").unwrap(); let buf = store.read(0, 5).unwrap(); assert_eq!(&buf, b"hello"); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
random-access-memory — cargo add random-access-memory · libregistry