SubfileInfo

class SubfileInfo

This class records a particular byte sub-range within an existing file on disk. Generally, the filename is understood as a physical file on disk, and not to be looked up via the vfs.

Inheritance diagram

digraph inheritanced0758d28b0 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "SubfileInfo" [URL="acron.core.SubfileInfo.html#acron.core.SubfileInfo",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "SubfileInfo" [arrowsize=0.75,style=""]; }
SubfileInfo.__init__()
SubfileInfo.assign()
SubfileInfo.get_file()

Returns the FileReference that represents this file.

SubfileInfo.get_filename()

A shortcut to the filename.

SubfileInfo.get_size()

Returns the number of consecutive bytes, beginning at get_start(), that correspond to this file data.

SubfileInfo.get_start()

Returns the offset within the file at which this file data begins.

SubfileInfo.is_empty()

Returns true if this SubfileInfo doesn’t define any file, false if it has real data.

SubfileInfo.output()