unpack
Unpack little endian hexlified binary string into a list.
def unpack(
structure: string,
data: string
) - > list
Unpack little endian hexlified binary string into a list.
Parameters
| Name | Type | Description |
|---|---|---|
| structure | string | The format string defining the layout of the binary data, which will be interpreted using little-endian byte order |
| data | string | A hexlified string representing the binary data to be unpacked |
Returns
| Type | Description |
|---|---|
list | A list of Python objects converted from the binary data according to the specified format structure |