# decodeBase64

**Kind:** Function

**Source:** [`src/utils/encode.ts`](https://github.com/honojs/hono/blob/main/src/utils/encode.ts#L25)

**Part of:** [Utils](subsystem-src-utils)

## Signature

```ts
function decodeBase64(str: string): Uint8Array<ArrayBuffer>
```

## Parameters

| Name | Type |
|---|---|
| `str` | `string` |

**Returns:** `Uint8Array<ArrayBuffer>`

## Used by

4 references from 4 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (4)

- `LambdaEvent` — `src/adapter/aws-lambda/handler.ts`:23
- `CloudFrontRequest` — `src/adapter/lambda-edge/handler.ts`:41
- `Auth` — `src/utils/basic-auth.ts`:7
- `HonoJsonWebKey` — `src/utils/jwt/jws.ts`:23
