#io #io-write #io-read #seek #replace #read-write

no-std bytecursor

No-std 替代品,用于 std::io::Readstd::io::Writestd::io::Seek

4 个版本

0.2.0 2021 年 10 月 18 日
0.1.2 2021 年 7 月 8 日
0.1.1 2021 年 7 月 8 日
0.1.0 2021 年 7 月 8 日

#158 in 无标准库


用于 4 个 crates(3 个直接使用)

MIT 许可证

9KB
131

Bytecursor

Crates.io docs.rs

bytecursor 是一个功能齐全的 std::io::Readstd::io::Writestd::io::Seek。它是为了在 sp-ipld 中使用而创建的,作为原始泛型参数的具体替代品。在所有方面,它都应该与 std::io::Cursor<Vec<u8>> 等同。

Bytecursor 与 no-std 兼容,仅使用 corealloc

许可证

Copyright © 2021 Yatima Inc

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

行为准则

此项目以 贡献者行为准则 发布。通过参与此项目,您同意遵守其条款。

无运行时依赖