Function loco_protocol::command::codec::decode::decode_head[][src]

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

Decode Header and data_size into empty Command.