Utilities to encode different kinds of packet lines
The error returned by most functions in the encode module
encode