Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
serialise.hh File Reference
#include <memory>
#include "lix/libutil/charptr-cast.hh"
#include "lix/libutil/generator.hh"
#include "lix/libutil/types.hh"
#include "lix/libutil/file-descriptor.hh"
Include dependency graph for serialise.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nix::Sink
 
struct  nix::NullSink
 
struct  nix::FinishSink
 
struct  nix::BufferedSink
 
struct  nix::Source
 
struct  nix::BufferedSource
 
struct  nix::FdSink
 
struct  nix::FdSource
 
struct  nix::StringSink
 
struct  nix::StringSource
 
struct  nix::TeeSink
 
struct  nix::TeeSource
 
struct  nix::SizedSource
 
struct  nix::LengthSink
 
struct  nix::LambdaSink
 
struct  nix::LambdaSource
 
struct  nix::GeneratorSource
 
struct  nix::SerializingTransform
 
struct  nix::StreamToSourceAdapter
 
struct  nix::FramedSource
 
struct  nix::FramedSink
 

Typedefs

using nix::WireFormatGenerator = Generator<Bytes, SerializingTransform>
 

Functions

Sinknix::operator<< (Sink &sink, Generator< Bytes > &&g)
 
void nix::writePadding (size_t len, Sink &sink)
 
Sinknix::operator<< (Sink &sink, uint64_t u)
 
Sinknix::operator<< (Sink &sink, std::string_view s)
 
Sinknix::operator<< (Sink &sink, const Strings &s)
 
Sinknix::operator<< (Sink &sink, const StringSet &s)
 
Sinknix::operator<< (Sink &sink, const Error &ex)
 
 nix::MakeError (SerialisationError, Error)
 
template<typename T >
nix::readNum (Source &source)
 
unsigned int nix::readInt (Source &source)
 
uint64_t nix::readLongLong (Source &source)
 
void nix::readPadding (size_t len, Source &source)
 
size_t nix::readString (char *buf, size_t max, Source &source)
 
std::string nix::readString (Source &source, size_t max)
 
template<class T >
nix::readStrings (Source &source)
 
Sourcenix::operator>> (Source &in, std::string &s)
 
template<typename T >
Sourcenix::operator>> (Source &in, T &n)
 
template<typename T >
Sourcenix::operator>> (Source &in, bool &b)
 
Error nix::readError (Source &source)
 

Variables

std::shared_ptr< void >(* nix::create_coro_gc_hook )()