Convert a sequence of bytes to a list of Python integer
(data: Union[bytes, List[int]])
| 24 | |
| 25 | |
| 26 | def to_integers(data: Union[bytes, List[int]]) -> List[int]: |
| 27 | """Convert a sequence of bytes to a list of Python integer""" |
| 28 | return [v for v in data] |
| 29 | |
| 30 | |
| 31 | @unique |