whiteflag-js
    Preparing search index...

    Function decodeField

    • Function

      Decodes a Whiteflag message field decodeField

      Parameters

      • buffer: BinaryBuffer

        a binary buffer with the encoded field

      • codec: WfCodec

        the message field encoding: 'utf-8', 'bin', 'dec', 'hex', 'datetime', 'duration', 'lat', 'long'

      • version: v1 = WfVersion.v1

        the version of the Whiteflag specification

      Returns string

      a string with the decoded field value

      v1-draft.7

      4.1.2 Message Encoding, 4.1.3 Message Compression