GCSFilter::GCSFilter

Reconstructs an already-created filter from an encoding.

Synopsis

Declared in <blockfilter.h>

GCSFilter(
    Params const& params,
    std::vector<unsigned char> encoded_filter,
    bool skip_decode_check);

Parameters

NameDescription
paramsThe SipHash keys and Golomb-Rice coding parameters.
encoded_filterThe serialized filter contents to decode.
skip_decode_checkIf true, skip validating the encoded contents.