@nevware21/ts-utils
    Preparing search index...

    Function encodeAsHex

    • Encode a string as hexadecimal

      Parameters

      • value: string

        The string value to encode

      Returns string

      The hexadecimal encoded string

      0.13.0

      encodeAsHex("Hello"); // "48656c6c6f"
      encodeAsHex("A"); // "41"
      encodeAsHex(""); // ""