@classmethod<EOL><INDENT>def fromtarfile(cls, tarfile):<DEDENT>
buf = tarfile.fileobj.read(BLOCKSIZE)<EOL>obj = cls.frombuf(buf, tarfile.encoding, tarfile.errors)<EOL>obj.offset = tarfile.fileobj.tell() - BLOCKSIZE<EOL>return obj._proc_member(tarfile)<EOL>
Return the next TarInfo object from TarFile object
           tarfile.