class documentation

Converter for the name section of images

Image names can be Image1 - Image0, but are stored using a font offset rather than tokens.

Class Method get Converts bytes -> str
Class Method set Converts str -> bytes
@classmethod
def get(cls, data: bytes, **kwargs) -> _T: (source)

Converts bytes -> str

Parameters
data:bytesThe raw bytes to convert
**kwargsUndocumented
Returns
_TThe latin-1 decoding of data with trailing null bytes removed
@classmethod
def set(cls, value: _T, **kwargs) -> bytes: (source)

Converts str -> bytes

Parameters
value:_TThe value to convert
**kwargsUndocumented
Returns
bytesThe latin-1 encoding of value