class documentation

class Bytes(Converter): (source)

Known subclasses: tivars.data.Data

View In Hierarchy

No-op converter for data sections best interpreted as raw bytes

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

Converts bytes -> bytes (no-op)

Parameters
data:bytesThe raw bytes to convert
**kwargsUndocumented
Returns
_TThe bytes in data, unchanged
@classmethod
def set(cls, value: _T, **kwargs) -> bytes: (source)
overridden in tivars.data.Data

Converts bytes -> bytes (no-op)

Parameters
value:_TThe value to convert
**kwargsUndocumented
Returns
bytesThe bytes in value, unchanged