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

# Client.read_bytes

```python theme={"system"}
async def Client.read_bytes(
    asset: Asset,
    *,
    max_bytes: int | None = None,
) -> bytes
```

Read an entire asset into memory.

## Parameters

<ParamField path="asset" type="Asset">
  The asset to resolve and read.
</ParamField>

<ParamField path="max_bytes" type="int | None">
  An optional maximum accepted object size in bytes.
</ParamField>

## Returns

The complete object contents as `bytes`.
