How to read integers from a file that are 24bit and little endian using Python?,"struct.unpack('<i', bytes + ('\x00' if bytes[2] < '\x80' else '\xff'))"