From 1fcfd318d3213d20b1b95545242d3946e21d96f2 Mon Sep 17 00:00:00 2001 From: Isabelle L Date: Thu, 14 May 2020 14:51:48 -0500 Subject: [PATCH] copied lib.rs markdown to readme --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 61018b8..b1628d2 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # Isabelle's Lazy Message Protocol -idfk lol \ No newline at end of file + +### network packet protocol + +I don't know whether or not this is a super practical way of doing things +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 | +| 8 byte | u64 length of the packet contents | +| 32 byte | SHA256 packet contents checksum | +| `u64::MAX` | packet contents | \ No newline at end of file