Expand description
Decoder limits. The string caps are normative
(docs/PROTOCOL.md §6); the list and depth caps are defensive
implementation limits documented in the same section.
Constants§
- MAX_
CONTENT_ TYPE_ BYTES - Cap for the DATA
content_typefield. - MAX_
ENDPOINT_ BYTES - Cap for the DATA
endpointfield. - MAX_
FILTER_ BYTES - Cap for the SUBSCRIBE/UNSUBSCRIBE
filterfield. - MAX_
LIST_ ITEMS - Cap on the number of items in a HELLO list field.
- MAX_
MESSAGE_ BYTES - Cap for the ERROR
messagefield. - MAX_
REPORT_ LEVELS - Cap on the number of levels a DATA header may order a report for
(
docs/PROTOCOL.md§6.2, key10). - MAX_
SKIP_ DEPTH - Nesting depth allowed when skipping an unknown field.
- MAX_
TOPIC_ BYTES - Cap for the DATA
topicfield. - MAX_
TRACEPARENT_ BYTES - Cap for the DATA
traceparentfield. - MAX_
TRACESTATE_ BYTES - Cap for the DATA
tracestatefield. - PRODUCER_
BYTES - Length of the DATA
producerfield: a raw 32-byte digest.