Class StreamChapterParser

Class Documentation

class StreamChapterParser

The StreamMultiParser wraps a StreamParser and returns a chapter of pages once all the pages have been received. This situation can happen if enough GSOF records have been enabled and become split over multiple transmissions.

Public Types

using GsofChapterFoundCallback = std::function<void(const std::vector<std::byte>&)>

Public Functions

StreamChapterParser()
void registerGsofChapterFoundCallback(GsofChapterFoundCallback callback)
void readSome(const std::uint8_t *data, std::size_t length)