blocksToRead -1 indicates that every block type should be read. alternatively, the caller can OR-together bits of the PublicNexusReader::NexusBlocksToRead enum to indicate which blocks should be processed.
mode should be a facet of the NxsReader::WarningHandlingMode enum that indicates where warning messages should be directed.