Module limits

Module limits 

Source
Expand description

Structural limit helpers for validating LNMP records and values.

These limits are intended to provide a single place to constrain untrusted inputs before they are handed off to parser/encoder layers. All counts and lengths are measured in bytes and are inclusive.

Structs§

StructuralLimits
Configurable structural limits checked against LnmpRecord/LnmpValue.

Enums§

StructuralError
Errors returned when structural limits are exceeded.