{"id":59617,"library":"positioned-io","title":"Positioned IO","description":"Provides reading and writing at a specific offset in a file or stream, similar to pread/pwrite.","status":"active","version":"0.3.5","language":"rust","source_language":null,"source_url":"https://github.com/vasi/positioned-io","tags":["io","file","offset","random-access"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\npositioned-io = \"0.3.5\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add positioned-io","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"ReadAt","correct":"use positioned_io::{ReadAt, WriteAt};"}],"quickstart":{"code":"use positioned_io::{ReadAt, WriteAt};\nuse std::fs::File;\n\nfn main() -> std::io::Result<()> {\n    let mut file = File::create(\"test.bin\")?;\n    file.write_at(0, b\"hello\")?;\n    file.write_at(5, b\"world\")?;\n    let mut buf = [0u8; 10];\n    file.read_at(0, &mut buf)?;\n    println!(\"Read: {:?}\", std::str::from_utf8(&buf));\n    Ok(())\n}","lang":"rust","description":"Writes and reads at specific offsets in a file."},"warnings":[],"env_vars":null,"search_vec":"'access':24 'file':13,20 'io':2,19 'offset':10,21 'posit':1 'pread/pwrite':18 'provid':3 'random':23 'random-access':22 'read':4 'similar':16 'specif':9 'stream':15 'write':6","created_at":"2026-06-16T17:10:39.182649+00:00","updated_at":"2026-06-16T17:10:39.182649+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/vasi/positioned-io","github":"https://github.com/vasi/positioned-io","docs":"https://docs.rs/positioned-io/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}