💾 Archived View for tris.fyi › pydoc › binhex captured on 2022-01-08 at 13:39:16. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Macintosh binhex compression/decompression. easy interface: binhex(inputfilename, outputfilename) hexbin(inputfilename, outputfilename)
close(self)
close_data(self)
write(self, data)
write_rsrc(self, data)
with_traceback(...) Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.
args = <attribute 'args' of 'BaseException' objects>
close(self)
close_data(self)
read(self, *n)
read_rsrc(self, *n)
close(self)
read(self, *args)
write(self, *args)
binhex(inp, out) binhex(infilename, outfilename): create binhex-encoded copy of a file
getfileinfo(name)
hexbin(inp, out) hexbin(infilename, outfilename) - Decode binhexed file
LINELEN = 64
REASONABLY_LARGE = 32768
RUNCHAR = b'\x90'