encode abstract method

List<int> encode()

Encodes the header

Implementation

List<int> encode();