8 lines
114 B
Python
8 lines
114 B
Python
|
import struct
|
||
|
|
||
|
|
||
|
def byteswap(data, sampwidth):
|
||
|
print(data)
|
||
|
raise
|
||
|
ch = "I" if sampwidth == 16 else "H"
|