2 #include "cetlib_except/exception.h" 5 MicroSlice(address), max_size_bytes_(max_size_bytes)
12 std::shared_ptr<dune::NanoSliceWriter>
21 throw cet::exception(
"MicroSliceWriter") <<
"Slice overflow error";
48 if (
header_()->nanoslice_count > 0 &&
uint8_t * data_(uint32_t index) const
void finalizeLatestNanoSlice_()
MicroSliceWriter(uint8_t *address, uint32_t max_size_bytes)
std::shared_ptr< NanoSliceWriter > latest_nanoslice_ptr_
Header::microslice_size_t size() const
cet::coded_exception< error, detail::translate > exception
std::shared_ptr< NanoSliceWriter > reserveNanoSlice(uint32_t ns_max_bytes)