def read_plain_int32(file_obj, count):
 length = (4 * count)
 data = file_obj.read(length)
 if (len(data) != length):
  raise EOFError(u'Expected {0} bytes but got {1} bytes'.format(length, len(data)))
 res = struct.unpack('<{0}i'.format(count).encode(u'utf-8'), data)
 return res

def read_plain_int32 ( file_obj , count ) : length = ( 4 * count ) data = file_obj . read ( length ) if ( len ( data ) != length ) : raise EOFError ( u'Expected {0} bytes but got {1} bytes' . format ( length , len ( data ) ) ) res = struct . unpack ( '<{0}i' . format ( count ) . encode ( u'utf-8' ) , data ) return res
read count 32-bit ints using the plain encoding .