Module loco_protocol::command::codec::encode[][src]

Functions

Encode header and data_size to bytes. The result Vec’s length is same with HEADER_SIZE + 4.