# server.Server.showBufferBytes

- **Module:** server.Server
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/server.ts#L925
- **Page:** https://libtmux.org/en/ts/latest/reference/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
```
