def from_hex(hex_string):
    """
    Converts the given hex string to a byte array.

    This is a convenience method useful for testing values during development.

    :param hex_string: The hex String to parse to bytes.
    :return: A byte array, as parsed from the given String
    """
    result = None
    if hex_string is not None:
        result = bytearray.fromhex(hex_string)
    return result
