pw::channel::PacketReadWriter implementation for testing use.
Public Member Functions | |
| constexpr | TestPacketReaderWriter (allocator::Allocator &allocator) |
| span< const Packet > | written_packets () const |
| Returns all packets that have been written to this packet channel. | |
| void | EnqueueReadPacket (Packet &&packet) |
Enqueues packets to be returned from future PendRead calls. | |