Expand description
Append-only output for the sink-based encoders.
The tag-header functions in crate::tags, the bounded scalar, timestamp
and string encoders in crate::primitives, the bounded references in
crate::constructed, the APDU header writer in crate::apdu::header
and the allocation-free services in bacnet-services support these sinks.
Other encoder families still use their BytesMut buffers. The sink
contract and the slice and heapless adapters need no allocator.
Structs§
- Sink
Full - A byte append did not fit its sink.
Traits§
- Encode
Sink - Storage that accepts a complete byte slice or leaves its output unchanged.