# LibTmux.Codec.decode_output/2

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/5bacf40788b43a5af27bb3656e727a921ba2db40/lib/libtmux/codec.ex#L48
- **Page:** https://libtmux.org/en/elixir/pr-173/reference/libtmux-codec-decode_output-2/

```
decode_output(value, options \\ [])
@spec decode_output(binary(), [
        {:max_bytes, pos_integer()}
      ]) ::
        {:ok, binary()} | {:error, LibTmux.Error.t()}
```

Decodes tmux's three-digit octal output escapes as bytes.

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

## Parameters

- `value` (`binary()`)
- `options` (`[{:max_bytes, pos_integer()}]`)
  Default: `[]`.
