pub fn new(
        writer: &'a mut dyn io::Write,
        k0: u64,
        k1: u64,
        m: u64,
        p: u8,
    ) -> GCSFilterWriter<'a> {
        GCSFilterWriter {
            filter: GCSFilter::new(k0, k1, p),
            writer,
            elements: HashSet::new(),
            m,
        }
    }
/// Create a new GCS writer wrapping a generic writer, with specific seed to siphash
Create a new GCS writer wrapping a generic writer, with specific seed to siphash
Create a new GCS writer wrapping a generic writer with specific seed to siphash
pub fn new(
        writer: &'a mut dyn io::Write,
        k0: u64,
        k1: u64,
        m: u64,
        p: u8,
    ) -> GCSFilterWriter<'a> {
        GCSFilterWriter {
            filter: GCSFilter::new(k0, k1, p),
            writer,
            elements: HashSet::new(),
            m,
        }
    }
pub fn new ( writer : & ' a mut dyn io :: Write , k0 : u64 , k1 : u64 , m : u64 , p : u8 , ) -> GCSFilterWriter < ' a > { GCSFilterWriter { filter : GCSFilter :: new ( k0 , k1 , p ) , writer , elements : HashSet :: new ( ) , m , } }
Create a new GCS writer wrapping a generic writer, with specific seed to siphash
Create a new GCS writer wrapping a generic writer with specific seed to siphash
writer
&'a mut dyn io::Write
k0
u64
k1
u64
m
u64
p
u8
writer
&'a mut dyn io::Write
k0
u64
k1
u64
m
u64
p
u8