GeosFileHeader
index
/mnt/common/python/d64py/d64py/GeosFileHeader.py

#======================================================================
GeosFileHeader.py
#======================================================================

 
Modules
       
d64py.D64Utility

 
Classes
       
builtins.object
GeosFileHeader

 
class GeosFileHeader(builtins.object)
    GeosFileHeader(raw: bytearray)
 

 
  Methods defined here:
__init__(self, raw: bytearray)
Initialize self.  See help(type(self)) for accurate signature.
getIconData(self) -> bytearray
Get the file's icon data from the header.
:return: The icon data.
getInfo(self) -> str
Get the file's info block as human-readable text.
:return: The info block.
getParentApplicationName(self) -> str
Get the file's parent application name.
:return: The parent application name.
getPermanentNameString(self) -> str
Get the file's permanent name string.
:return: The permanent name string.
getPermanentNameVersion(self) -> str
Extract the version number from the permanent name string.
:return: The version number.
getPlainInfo(self) -> str
getPointSizes(self) -> list[int]
For a font file, return a list of available point sizes.
:return: A list of point sizes.
getRaw(self) -> bytearray
Get the raw bytes making up the file header.
:return: The raw bytes.
makeString(self, buffer: bytearray, start: int, length: int) -> str
Helper function: make an ASCII string from raw PETSCII bytes.
:param buffer: The buffer containing the string.
:param start: The starting offset of the string within the buffer.
:param length: The length of the string.
:return: An ASCII string.

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)