> ## Documentation Index
> Fetch the complete documentation index at: https://voltaire.tevm.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Uint.bitwiseAnd

> Bitwise AND operation on Uint256 values

<Card title="Try it Live" icon="play" href="https://playground.tevm.sh?example=primitives/uint.ts">
  Run Uint examples in the interactive playground
</Card>

## `Uint.bitwiseAnd(a: BrandedUint256, b: BrandedUint256): BrandedUint256`

Bitwise AND operation.

**Parameters:**

* `a: BrandedUint256` - First value
* `b: BrandedUint256` - Second value

**Returns:** `BrandedUint256` - Bitwise AND result

**Example:**

```typescript theme={null}
import { Uint } from 'tevm'

const a = Uint(0b1100n)
const b = Uint(0b1010n)
Uint.bitwiseAnd(a, b)  // 0b1000 (8)

// Masking
const value = Uint(0xffn)
const mask = Uint(0x0fn)
Uint.bitwiseAnd(value, mask)  // 0x0f
```

**Defined in:** [primitives/Uint/bitwiseAnd.ts](https://github.com/evmts/voltaire/blob/main/src/primitives/Uint/bitwiseAnd.ts)

## See Also

* [bitwiseOr](/primitives/uint256/bitwise-or) - Bitwise OR
* [bitwiseXor](/primitives/uint256/bitwise-xor) - Bitwise XOR
* [Bitwise operations](/primitives/uint256/bitwise) - Full bitwise reference
