code: func (cf *Filter) Encode() []byte {
  	bytes := make([]byte, len(cf.buckets)*bucketSize)
  	for i, b := range cf.buckets {
  		for j, f := range b {
  			index := (i * len(b)) + j
  			bytes[index] = f
  		}
  	}
  	return bytes
  }
docs: // Encode returns a byte slice representing a Cuckoofilter