Skip to content

fontlab_glyport.ui.nib_archive · declarations 001

Back to fontlab_glyport.ui.nib_archive

MAGIC module-attribute

MAGIC

MAX_BYTES module-attribute

MAX_BYTES

MAX_DECODE_DEPTH module-attribute

MAX_DECODE_DEPTH

MAX_VARINT_BYTES module-attribute

MAX_VARINT_BYTES

read_nib

read_nib(path: str | Path) -> Archived

Return the root object (NSIBObjectData) of a .nib file or bundle.

read_nib_data

read_nib_data(data: bytes, path: str | Path = '<nib data>') -> Archived

The root of NIB bytes (a file's, or a table view's archived prototype cell views); path only names it in errors.