|  | Methods defined here: 
 __init__(self, byte_order: runtimepy.primitives.byte_order.ByteOrder = <ByteOrder.NETWORK: 4>) -> NoneInitialize this instance.
 encode(self, stream: _io.BytesIO, data: bytes | str) -> NoneEncode a message to a stream.
 encode_json(self, stream: _io.BytesIO, data: dict[str, typing.Any]) -> NoneEncode a message as JSON.
 messages(self, data: bytes) -> Iterator[dict[str, Any]]Iterate over incoming messages.
 process(self, data: bytes) -> Iterator[bytes]Process an incoming message.
 Data descriptors defined here:
 
 __dict__dictionary for instance variables
 __weakref__list of weak references to the object
 Data and other attributes defined here:
 
 __annotations__ = {'message_length_kind': type[typing.Union[runtimepy.primitives.int.Uint8...itive, runtimepy.primitives.int.Uint64Primitive]]}
 message_length_kind = <class 'runtimepy.primitives.int.Uint32Primitive'>A simple primitive class for integer primitives.
 |