mirror of
https://github.com/NinjaCheetah/libWiiPy.git
synced 2025-04-26 05:11:02 -04:00
10 lines
215 B
Python
10 lines
215 B
Python
from typing import List
|
|
from binascii import unhexlify
|
|
|
|
|
|
def hex_string_to_byte_array(hex_string: str) -> List[int]:
|
|
byte_string = unhexlify(hex_string)
|
|
byte_array = list(byte_string)
|
|
|
|
return byte_array
|