Function hexToBytes

  • Converts any hexadecimal string to byte sequence.

    Returns

    Byte sequence

    Example

    import { hexToBytes } from 'p2panda-js';

    const bytes = hexToBytes('112233');

    Parameters

    • hex: string

      Hexadecimal encoded string

    Returns Uint8Array

Generated using TypeDoc