Filter class understanding

please elaborate void filter class function and why we use this exactly

hello @TheSourabh

that function is there to extract the character from set bit positions.

for example if string is abc and number is 101 (in binary) then that function will extract a and c from the string becuase their corrsponding positions are set.