Functions

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