Function
Encodes a Whiteflag message field encodeField
the message field value
the message field encoding: 'utf-8', 'bin', 'dec', 'hex', 'datetime', 'duration', 'lat', 'long'
the version of the Whiteflag specification
a binary buffer with the compressed encoded field
v1-draft.7
4.1.2 Message Encoding, 4.1.3 Message Compression
Encodes a Whiteflag message field encodeField