pub fn decode_head(buf: &[u8]) -> Result<Command, StreamError>
Expand description

Decode Header and data_size into empty Command.