def METHOD_NAME(
    lst: list[int],
    width,
    byteorder: Union[Literal["little"], Literal["big"]] = "little",
):
    """Return the `width`-wide byte representation of lst with byteorder"""
    return [i.to_bytes(width, byteorder) for i in lst]