Gabriel wrote:
Hello
I'm using this function to read data in byte format from file
def readBytes(file, offset, size):
file.seek(offset)
return file.read(size)
file is opened with open function:
file = open(path, "rb")
then i'm using array.array('B', bytes) to parse read-out data, for
Hello
I'm using this function to read data in byte format from file
def readBytes(file, offset, size):
file.seek(offset)
return file.read(size)
file is opened with open function:
file = open(path, "rb")
then i'm using array.array('B', bytes) to parse read-out data, for
example in this