# libtmux::Parser

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/control.hpp#L87
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-parser/

The control-mode wire format, decoded into whole events.

Owns the partial state between reads, so a caller feeds whatever bytes arrived and gets back only complete events. It bounds what it retains because a connection, unlike a subprocess, never gives its memory back.

## Members

- `Parser` (method)
- `feed` (method)
- `finish` (method)
