SwapMetaOut.cc
Go to the documentation of this file.
84 const auto bufSize = NaturalSum<size_t>(sizeof(SwapMetaMagic), sizeof(RawSwapMetaPrefixLength), metas.length()).value();
Definition: Stream.h:21
Definition: Store.h:42
Definition: SquidConfig.h:62
const size_t SwapMetaFieldValueLengthMax
Definition: SwapMeta.h:107
static void PackField(std::ostream &os, const SwapMetaType type, const size_t length, const void *value)
writes a single swap meta field to the given stream
Definition: SwapMetaOut.cc:22
void CheckSwapMetaSerialization(RawSwapMetaType, RawSwapMetaLength, const void *)
Definition: SwapMeta.cc:13
AllocedBuf PackSwapMeta(const StoreEntry &, size_t &size)
Definition: SwapMetaOut.cc:77
static void PackFields(const StoreEntry &entry, std::ostream &os)
writes all swap meta fields of the given Store entry to the given stream
Definition: SwapMetaOut.cc:45