#byte-buffer #byte #details

rs-bytebuffer

这是一个字节缓冲区工具

1 个不稳定版本

0.1.3 2023年3月8日
0.1.2 2023年3月8日
0.1.1 2023年3月8日
0.1.0 2023年3月8日

#54#details

46 每月下载量

Apache-2.0

12KB
252 代码行(不含注释)

rs-bytebuffer

  • 字节操作工具类

示例

let array: [u8; 4] = [0x01, 0x02, 0x01, 0x02];
let mut read_byte_buf = ByteReader::new_from( & array);

read_byte_buf.read_i8();
read_byte_buf.read_u8();
read_byte_buf.read_u16_le();
read_byte_buf.mark_read_index().read_i16_le();
read_byte_buf.reset_read_index();
read_byte_buf.read_i16_le();
read_byte_buf.read_i16_le();

许可协议

TIS 采用 Apache2 许可协议。有关详细信息,请参阅 LICENSE 文件。

反馈

在使用过程中如果您有任何不满或批评,请告诉我们。您提出的宝贵意见将是我们最大的支持和鼓励,我要提建议

依赖项

~115KB