• Parameters

    • str: string

      String to convert

    Returns string

    Convert a string to bytes

    use stringToBytes instead, same functionality with a more descriptive name