# All files / src/types/enums EncodingMode.ts

100% Statements 6/6
100% Branches 2/2
100% Functions 1/1
100% Lines 6/6

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    132x

    2x

    2x

    2x

    2x

    2x
     enum EncodingMode {
      /** Uses full ASCII range interpreted as Latin-1 or binary data. **/
      DATA_MODE = 0,
      /** Uses pre-formatted UTF-8 input. */
      UNICODE_MODE = 1,
      /** Encodes GS1 data using FNC1 characters. */
      GS1_MODE = 2,
      /** Process input data for escape sequences. */
      ESCAPE_MODE = 8
    }

    export default EncodingMode