![]() |
Pixie
|
Contract for an append-only output that supports checked overwrites. More...
#include <serialization.h>
Contract for an append-only output that supports checked overwrites.
A sink starts empty. write() appends all bytes or throws; write_at() replaces bytes within the already-written prefix without changing the append position; and finish() completes the output. A sink may become unusable after finish().