5 #ifndef CVMFS_NETWORK_SINK_MEM_H_
6 #define CVMFS_NETWORK_SINK_MEM_H_
43 virtual int64_t
Write(
const void *buf, uint64_t sz);
118 bool is_owner =
true);
144 #endif // CVMFS_NETWORK_SINK_MEM_H_
virtual std::string Describe()
virtual bool Reserve(size_t size)
virtual int64_t Write(const void *buf, uint64_t sz)
void Adopt(size_t size, size_t pos, unsigned char *data, bool is_owner=true)
virtual bool RequiresReserve()
static const size_t kMaxMemSize