docstr: Read N integers from the bytes stream dbfile. Expects that the file
  is positioned at a key byte.
docstr_tok: ["Read","N","integers","from","the","bytes","stream","dbfile",".","Expects","that","the","file","is","positioned","at","a","key","byte","."]
code: def read_nums(self, f, n):
      """Read N integers from the bytes stream dbfile. Expects that the file
      is positioned at a key byte.
      """
  
      count = 0
      key = None
      for _ in xrange(n):
          if count == 0:
              key = f.read_byte()
          code = key >> (count * 2) & 3
          if code == 0:
              yield f.read_byte()
          elif code == 1:
              yield f.read_ushort_le()
          elif code == 2:
              yield unpack_uint_le(f.read(3) + "\x00")[0]
          else:
              yield f.read_uint_le()
  
          count = (count + 1) % 4
  
imports: from array import array
  from whoosh.compat import xrange
  from whoosh.system import emptybytes
  from whoosh.system import pack_byte, unpack_byte
  from whoosh.system import pack_ushort_le, unpack_ushort_le
  from whoosh.system import pack_uint_le, unpack_uint_le
label_desc: Use image node_id 3 for calling the GInts obj's underlying member method code with example usage: obj.read_nums(f, n) without return types