连续读写磁盘,使用随机偏移量和长度
由 substack 所有者 Timo Tiuraniemi, Yosh, datrs.
#114 in 文件系统
每月 594 次下载在 8 个 Crates 中使用 (7 个直接使用)
24KB 470 行
使用在 random-access-storage 中定义的抽象接口,连续读写磁盘,使用随机偏移量和长度。
由 JavaScript random-access-file 改编。
$ cargo add random-access-disk
MIT 或 Apache-2.0
~5–15MB ~199K SLoC