code: def fromtarfile(cls, tarfile):
          
          buf = tarfile.fileobj.read(BLOCKSIZE)
          obj = cls.frombuf(buf, tarfile.encoding, tarfile.errors)
          obj.offset = tarfile.fileobj.tell() - BLOCKSIZE
          return obj._proc_member(tarfile)
docs: Return the next TarInfo object from TarFile object
             tarfile.