Pigweed
C/C++ API Reference
|
pw::channel::PacketReadWriter
implementation for testing use.
More...
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. | |
pw::channel::PacketReadWriter
implementation for testing use.