浏览代码

slighterer change

master
Isabelle L. 5 年前
父节点
当前提交
3c67d41229
共有 2 个文件被更改,包括 2 次插入3 次删除
  1. +1
    -2
      README.md
  2. +1
    -1
      src/lib.rs

+ 1
- 2
README.md 查看文件

@@ -7,9 +7,8 @@ but i'm lazy and it seems to work so gonna roll with it lol

| segment size | usage |
|--------------|--------------------------------------------|
| 1 byte | u8 signifies the type of packet |
| 1 byte | u8 packet type |
| 8 byte | u64 length of the packet contents |
| 4 byte | CRC32 packet contents checksum |
| 32 byte | SHA256 packet contents integrity check |
| `u64::MAX` | packet contents |


+ 1
- 1
src/lib.rs 查看文件

@@ -7,7 +7,7 @@
//!
//! | segment size | usage |
//! |--------------|--------------------------------------------|
//! | 1 byte | u8 signifies the type of packet |
//! | 1 byte | u8 packet type |
//! | 8 byte | u64 length of the packet contents |
//! | 4 byte | CRC32 packet contents checksum |
//! | 32 byte | SHA256 packet contents integrity check |


正在加载...
取消
保存