def pad_guid_bytes(raw_bytes: bytes) ->bytes:
    """Pads a sequence of raw bytes to make them the required size of a UUID.
    Note that if you're using an int as your source for instantiating a UUID,
    you should not use this function. Just use UUID(your_int_here).
    """
    if not 0 < len(raw_bytes) <= 16:
        raise ValueError('Byte length must be between 1 and 16.')
    return raw_bytes + b'\x00' * (16 - len(raw_bytes))
