refactor client byte write / read
This commit is contained in:
@@ -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 })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user