# server.Server.showBufferBytes

- **Module:** server.Server
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/server.ts#L876
- **Page:** https://libtmux.org/reference/ts/server-server-showbufferbytes/

```
server.Server.showBufferBytes(name: : string) -> Promise<Uint8Array>
```

Read a named paste buffer without decoding or splitting its bytes.

Unlike {@link Server.showBuffer}, this preserves NUL, invalid UTF-8, line
endings, and trailing newlines.

## Example

```ts
const bytes = await server.showBufferBytes("payload");
bytes[0]; // 104
```
