# LibTmux.Format.literal/1

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/format.ex#L47
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-format-literal-1/

```
literal(value)
@spec literal(binary()) :: binary()
```

Returns a format expression that expands to exactly the supplied non-NUL bytes.

See the [worked example](api-examples.html#encoding-and-protocol).

## Parameters

- `value` (`binary()`)

## Guides

Pages that discuss `literal/1`.

- [Command and field encoding](/en/elixir/pr-173/topics/encoding/)
