binary protocol

A network or file format that encodes messages as raw bytes at fixed positions instead of readable text.

In more detail

Binary formats are compact and fast to parse, but both sides must agree exactly on field sizes, positions and byte order. Examples include the HTTP/2 framing layer and the WebSocket frame format.

Related terms

Taught in

References