class documentation

Converter for the real part of complex numbers

Real parts are instances of RealEntry.

Class Method get Converts bytes -> RealEntry
Class Method set Converts RealEntry -> bytes
@classmethod
def get(cls, data: bytes, *, instance=None) -> _T: (source)

Converts bytes -> RealEntry

Parameters
data:bytesThe raw bytes to convert
instanceThe instance containing the data section
Returns
_TThe real part of data converted to the appropriate type
@classmethod
def set(cls, value: _T, **kwargs) -> bytes: (source)

Converts RealEntry -> bytes

Parameters
value:_TThe value to convert
**kwargsUndocumented
Returns
bytesThe data of value