Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::LengthSink Struct Reference

#include <serialise.hh>

Inheritance diagram for nix::LengthSink:
nix::Sink

Public Member Functions

void operator() (std::string_view data) override
Public Member Functions inherited from nix::Sink
virtual bool good ()

Public Attributes

uint64_t length = 0

Detailed Description

A sink that that just counts the number of bytes given to it

Member Function Documentation

◆ operator()()

void nix::LengthSink::operator() ( std::string_view data)
inlineoverridevirtual

Implements nix::Sink.


The documentation for this struct was generated from the following file: