refactor client byte write / read

This commit is contained in:
2025-07-01 16:59:39 +02:00
parent 87eb32eb5d
commit cff5c37a40
11 changed files with 80 additions and 138 deletions

View File

@@ -27,7 +27,7 @@ impl Delete {
}
pub fn parse(buf: &mut Cursor<&[u8]>) -> Result<Self> {
let key = buf.try_get_string()?;
let key = buf.try_get_short_string()?;
Ok(Self { key })
}