class documentation

Converter for data sections best interpreted as strings of tokens

Tokenization uses the TI-84+CE token sheet, which is backwards compatible for all var name 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, *, instance=None, **kwargs) -> bytes: (source)

Converts str -> bytes

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