# Functions

NewDecoder creates a packet decoder which reads from r.
NewEncoder creates a packet encoder which writes to w.

# Interfaces

FrameReader is the reader which supports framing.
FrameWriter is the writer which supports framing.