Framer
interface Framer
Wraps and recovers payloads on a stream transport (L2CAP CoC, an MTU-spanning concatenation, etc.).
A single Framer instance is both the encoder (frame) and the factory for fresh decoders (unframer). Decoders are stateful, so each receive stream needs its own; one Framer may produce many.