9#ifndef SQUID_SRC_STOREIOBUFFER_H
10#define SQUID_SRC_STOREIOBUFFER_H
29 length(aMemBuf->contentSize()),
31 data(aMemBuf->content()) {
38 data(aMemBuf->content()) {
51 if (fwrite(
"\n", 1, 1, stderr)) {}
66 return os <<
"ioBuf(@" << b.
offset <<
", len=" << b.
length <<
", " <<
std::ostream & operator<<(std::ostream &os, const StoreIOBuffer &b)
StoreIOBuffer(MemBuf *aMemBuf, int64_t anOffset, size_t anLength)
StoreIOBuffer(MemBuf *aMemBuf, int64_t anOffset)
StoreIOBuffer & positionAt(const int64_t newOffset)
convenience method for changing the offset of a being-configured buffer
struct StoreIOBuffer::@123 flags
Range< int64_t > range() const
StoreIOBuffer(size_t aLength, int64_t anOffset, char *someData)