jooby-codec
    Preparing search index...

    Variable getBytesFromHex

    getBytesFromHex: (hex: string) => TBytes

    Convert hex string to byte array.

    Type declaration

      • (hex: string): TBytes
      • Parameters

        • hex: string

          input bytes hex representation

        Returns TBytes

    input: '02 05 0c ff 69 8b 7d' or '2 5 c ff 69 8b 7d' or '02050cff698b7d' or '0x23 0xaa 0x00'
    output: [2, 5, 12, 255, 105, 139, 125]