fn reset(s: *Self, new_reader: ReaderType, new_dict: ?[]const u8) !void

Replaces the inner reader and dictionary with new_reader and new_dict. new_reader must be of the same type as the reader being replaced.

Parameters

s: *Self,
new_reader: ReaderType,
new_dict: ?[]const u8,