# LibTmux.Snapshot.labelFromBytes

- **Package:** libtmux-haskell
- **Language:** Haskell
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-haskell/blob/663e212622a02aa74a9bdc8ff71e2b45fcb1d4d5/src/LibTmux/Snapshot.hs#L136
- **Page:** https://libtmux.org/en/haskell/latest/reference/libtmux-snapshot-v-labelfrombytes/

```haskell
labelFromBytes :: ByteString -> TmuxText
```

Signature types: [`ByteString`](https://hackage.haskell.org/package/bytestring-0.12.2.0/docs/Data-ByteString.html#t:ByteString), [`TmuxText`](/en/haskell/latest/reference/libtmux-snapshot-t-tmuxtext/).

Copy bytes into an owned label. This performs no encoding replacement.

## Referenced declarations

- [`LibTmux.Snapshot.TmuxText`](/en/haskell/latest/reference/libtmux-snapshot-t-tmuxtext/) (data type)

## Guides

Pages that discuss `labelFromBytes`.

- [Rename and set pane titles](/en/haskell/latest/guides/mutations/)
