|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <serialise.hh>
Public Member Functions | |
| FramedSink (BufferedSink &to, std::exception_ptr &ex) | |
| void | writeUnbuffered (std::string_view data) override |
| Public Member Functions inherited from nix::BufferedSink | |
| BufferedSink (size_t bufSize=32 *1024) | |
| void | operator() (std::string_view data) override |
| void | flush () |
| Public Member Functions inherited from nix::Sink | |
| virtual bool | good () |
Public Attributes | |
| BufferedSink & | to |
| std::exception_ptr & | ex |
| Public Attributes inherited from nix::BufferedSink | |
| size_t | bufSize |
| size_t | bufPos |
| std::unique_ptr< char[]> | buffer |
Write as chunks in the format expected by FramedSource.
The exception_ptr reference can be used to terminate the stream when you detect that an error has occurred on the remote end.
|
inlineoverridevirtual |
Implements nix::BufferedSink.