pyrtma.message_base

Functions

hexdump

Dump bytes as hex

is_dataclass

Returns True if obj is a dataclass or an instance of a dataclass.

print_ctype_array

Expand and print ctype arrays to string

Classes

CStructType

alias of PyCStructType

MessageBase

MessageBase base class

MessageMeta

MessageMeta metaclass

RTMAJSONEncoder

JSONEncoder object used to convert MessageData to json

TypeVar

Type variable.

Exceptions

JSONDecodingError

Raised when there is an error decoding a message from json.