and
The keyword and is a bitwise operator.
Syntax
0b11001 and 0b10101
Example Code
import std.print;
int32 main()
{
int32 data = 0b11001 and 0b10101; // data contains 0b10001, which is 17; 0b10101 is equal to (1 * 2^0) + (1 * 2^4).
std::print("${data}");
return 0;
}
Output
17