PyDocs

Nav

Data Compression and Archiving

TarInfo.frombuf

tarfile

classmethod of TarInfo (source)
  • TarInfo.frombuf(buf, encoding, errors)
Construct a TarInfo object from a 512 byte bytes object.

To support the old v7 tar format AREGTYPE headers are
transformed to DIRTYPE headers if their name ends in '/'.
0 Examples
No examples for tarfile/TarInfo.frombuf.
See Also
No see-alsos for tarfile/TarInfo.frombuf
0 Notes
No notes for TarInfo.frombuf