From 3c67d41229788a37a2c444c8e2337203873bc8e4 Mon Sep 17 00:00:00 2001 From: Isabelle L Date: Fri, 15 May 2020 19:13:30 -0500 Subject: [PATCH] slighterer change --- README.md | 3 +-- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3771e83..be4bab8 100644 --- a/README.md +++ b/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 | - diff --git a/src/lib.rs b/src/lib.rs index 316f8f5..0d73fa1 100644 --- a/src/lib.rs +++ b/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 |