class documentation
Undocumented
| Method | __init__ |
Creates an empty flash file with a specified name |
| Method | add |
Adds a header to this file |
| Method | bytes |
No summary |
| Method | clear |
Removes all headers from this flash file |
| Method | get |
Determines the file extension for a targeted model based on its contents |
| Method | load |
Loads a byte string or bytestream into this file |
| Method | summary |
No summary |
| Class Variable | magics |
Undocumented |
| Instance Variable | headers |
Undocumented |
| Property | is |
Whether this flash file contains no headers |
Inherited from TIFile:
| Class Method | get |
Gets the subclass corresponding to file magic if one is registered |
| Class Method | open |
Creates a new file given a filename |
| Class Method | register |
Registers a subtype with this class for coercion |
| Method | __bool__ |
No summary |
| Method | __bytes__ |
No summary |
| Method | __copy__ |
No summary |
| Method | __eq__ |
Determines if two files are identical |
| Method | __format__ |
Undocumented |
| Method | __len__ |
No summary |
| Method | get |
Determines the filename based on the instance name and targeted model |
| Method | load |
Loads this file from a file pointer |
| Method | save |
Saves this file given a filename |
| Method | supported |
Determines whether this file supports a given model |
| Method | targets |
Determines whether this file targets a given model |
| Instance Variable | name |
Undocumented |
| Property | checksum |
The checksum for the file |
| Method | __init |
Undocumented |
| Class Variable | _magics |
Undocumented |
Inherited from Dock (via TIFile):
| Method | load |
Loads data into an instance by delegating to Loader methods based on the input's type |
| Class Variable | loaders |
Undocumented |
Adds a header to this file
| Parameters | |
header:TIFlashHeader | A TIFlashHeader to add (defaults to an empty header) |