# LibTmux.Codec.decode_output/2

- **Module:** LibTmux
- **Package:** libtmux
- **Language:** Elixir
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-elixir/blob/66b9b1c3f3f3186428abdfda2c76f5cf87446710/lib/libtmux/codec.ex#L48
- **Page:** https://libtmux.org/en/elixir/latest/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()}]`)
