{"id":74269,"library":"random-access-memory","title":"Random Access Memory","description":"Continuously read and write to memory using random offsets and lengths.","status":"active","version":"3.0.0","language":"rust","source_language":null,"source_url":"https://github.com/datrs/random-access-memory","tags":["memory","random-access","storage","io"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nrandom-access-memory = \"3.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add random-access-memory","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"RandomAccessMemory","correct":"use random_access_memory::RandomAccessMemory;"}],"quickstart":{"code":"use random_access_memory::RandomAccessMemory;\n\nfn main() {\n    let mut store = RandomAccessMemory::new(1024);\n    store.write(0, b\"hello\").unwrap();\n    let buf = store.read(0, 5).unwrap();\n    assert_eq!(&buf, b\"hello\");\n}","lang":"rust","description":"Create a memory-backed random-access store and perform reads/writes."},"warnings":[],"env_vars":null,"search_vec":"'access':2,18 'continu':4 'io':20 'length':14 'memori':3,9,15 'offset':12 'random':1,11,17 'random-access':16 'read':5 'storag':19 'use':10 'write':7","created_at":"2026-06-17T19:01:36.361054+00:00","updated_at":"2026-06-17T19:01:36.361054+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/datrs/random-access-memory","github":"https://github.com/datrs/random-access-memory","docs":"https://docs.rs/random-access-memory/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility","other"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}