Function rstrtohex

  • convert a raw string to a hexadecimal string

    Parameters

    • s: string

      raw string

    Returns string

    hexadecimal string

    See

    hextorstr

    Example

    rstrtohex("aaa") -> "616161"
    rstrtohex("a\x00a") -> "610061"