Convert a character to a byte:

    'A'.ord
    # => 65

