miniproto.connection.framing.NativeFrameCodec.feed_data
miniproto.connection.framing.NativeFrameCodec.feed_data
Section titled “miniproto.connection.framing.NativeFrameCodec.feed_data”feed_data(data: bytes | bytearray | memoryview) -> tuple[FrameEvent, ...]Decode native frame-pump events into the portable event types.
Parameters:
- data (
bytes | bytearray | memoryview) – Transport bytes that may contain any number of partial frames.
Raises:
TransportError– If the backend rejects invalid framing under the same rules as the Python codec.RuntimeError– If the backend emits an unknown event kind.