# stringBufferToString

**Kind:** Function

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

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

## Signature

```ts
async function stringBufferToString(buffer: StringBuffer, callbacks: HtmlEscapedCallback[] | undefined): Promise<HtmlEscapedString>
```

## Parameters

| Name | Type |
|---|---|
| `buffer` | `StringBuffer` |
| `callbacks` | `HtmlEscapedCallback[] | undefined` |

**Returns:** `Promise<HtmlEscapedString>`

## Used by

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

### Imported by (3)

- `html` — `src/helper/html/index.ts`:11
- `Props` — `src/jsx/base.ts`:27
- `jsxAttr` — `src/jsx/jsx-runtime.ts`:16
