> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.getfoundry.sh/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

## `read`

### Signature

```solidity
function read_bytes32(StdStorage storage self) internal returns (bytes32);
```

```solidity
function read_bool(StdStorage storage self) internal returns (bool);
```

```solidity
function read_address(StdStorage storage self) internal returns (address);
```

```solidity
function read_uint(StdStorage storage self) internal returns (uint256);
```

```solidity
function read_int(StdStorage storage self) internal returns (int256);
```

### Description

Reads the value from the storage slot as `bytes32`, `bool`, `address`, `uint256`, or `int256`.

Reverts with a message if unsuccessful.
