---
icon: package
label: base64
---

### `base64.b64encode(b: bytes) -> bytes`

Encode bytes-like object `b` using the standard Base64 alphabet.

### `base64.b64decode(b: bytes) -> bytes`

Decode Base64 encoded bytes-like object `b`.

