Serialized Binary Fuse Filter Xdr
data class SerializedBinaryFuseFilterXdr(val type: BinaryFuseFilterTypeXdr, val inputHashSeed: ShortHashSeedXdr, val filterSeed: ShortHashSeedXdr, val segmentLength: Uint32Xdr, val segementLengthMask: Uint32Xdr, val segmentCount: Uint32Xdr, val segmentCountLength: Uint32Xdr, val fingerprintLength: Uint32Xdr, val fingerprints: ByteArray)
XDR Source: struct SerializedBinaryFuseFilter { BinaryFuseFilterType type;
// Seed used to hash input to filter
ShortHashSeed inputHashSeed;
// Seed used for internal filter hash operations
ShortHashSeed filterSeed;
uint32 segmentLength;
uint32 segementLengthMask;
uint32 segmentCount;
uint32 segmentCountLength;
uint32 fingerprintLength; // Length in terms of element count, not bytes
// Array of uint8_t, uint16_t, or uint32_t depending on filter type
opaque fingerprints<>;Content copied to clipboard
};
Constructors
Link copied to clipboard
constructor(type: BinaryFuseFilterTypeXdr, inputHashSeed: ShortHashSeedXdr, filterSeed: ShortHashSeedXdr, segmentLength: Uint32Xdr, segementLengthMask: Uint32Xdr, segmentCount: Uint32Xdr, segmentCountLength: Uint32Xdr, fingerprintLength: Uint32Xdr, fingerprints: ByteArray)
Properties
Link copied to clipboard
Seed used for internal filter hash operations
Link copied to clipboard
Length in terms of element count, not bytes
Link copied to clipboard
Link copied to clipboard
Seed used to hash input to filter
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard