2022-04-30 05:11:54 -05:00
|
|
|
from typing import Union, Tuple, List
|
|
|
|
|
|
|
|
_block = Tuple[int, int, int]
|
|
|
|
|
2022-09-27 17:34:57 +08:00
|
|
|
def colors_to_bytes(colors: List[_block]) -> bytes: ... # noqa: E302
|
|
|
|
def bytes_to_colors(s: bytes) -> Union[List[_block], None]: ...
|