COROIO: NNet::NActors::TZeroCopyEnvelopeReaderV2 Class Reference
COROIO
Loading...
Searching...
No Matches
NNet::NActors::TZeroCopyEnvelopeReaderV2 Class Reference

#include <envelope_reader.hpp>

Public Member Functions

 TZeroCopyEnvelopeReaderV2 (size_t chunkSize=1024 *1024, size_t lowWatermark=64 *1024)
std::span< char > Acquire (size_t size)
void Commit (size_t size)
std::optional< TEnvelope > Pop ()
size_t Size () const
bool NeedMoreData () const
void Push (const char *p, size_t len)
int UsedChunksCount () const

Detailed Description

Envelope reader that hands out payloads as blobs pointing into its chunks. A blob must not outlive the reader: the blob deleter uses the chunk's Parent.


The documentation for this class was generated from the following files: