21 "Invalid frame data record format!");
30 return 4 +
sizeof(
FrameData) * Frames.size();
43 Frames.push_back(Frame);
Compute iterated dominance frontiers using a linear time algorithm.
Data in the SUBSEC_FRAMEDATA subection.
uint32_t calculateSerializedSize() const override
Error readObject(const T *&Dest)
Get a pointer to an object of type T from the underlying stream, as if by memcpy, and store the resul...
void addFrameData(const FrameData &Frame)
Error commit(BinaryStreamWriter &Writer) const override
ArrayRef< T > makeArrayRef(const T &OneElt)
Construct an ArrayRef from a single element.
Error writeArray(ArrayRef< T > Array)
Writes an array of objects of type T to the underlying stream, as if by using memcpy.
Error initialize(BinaryStreamReader Reader)
Provides write only access to a subclass of WritableBinaryStream.
Error writeInteger(T Value)
Write the integer Value to the underlying stream in the specified endianness.
static ErrorSuccess success()
Create a success value.
uint32_t bytesRemaining() const
Lightweight error class with error context and mandatory checking.
Provides read only access to a subclass of BinaryStream.
Error readArray(ArrayRef< T > &Array, uint32_t NumElements)
Get a reference to a NumElements element array of objects of type T from the underlying stream as if ...