# LibTmux.Internal.ServerUtilities.ReadBuffers

- **Module:** LibTmux.Internal.ServerUtilities
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Utilities/ServerUtilities.cs#L130
- **Page:** https://libtmux.org/reference/dotnet/libtmux-internal-serverutilities-readbuffers/

```
LibTmux.Internal.ServerUtilities.ReadBuffers(lines: IReadOnlyList<string>) -> IReadOnlyList<TmuxBuffer>
```

Reads the buffers <c>list-buffers</c> printed.

tmux prints a buffer as its name, then its size in bytes, then a sample
of its contents in quotes. The sample can hold anything, so only the two
fields before it are read by position.

## Parameters

- `lines` (IReadOnlyList<string>) — The output lines.

## Returns

One buffer per line tmux could be read from.
