Assert that the byte length of a value (stringified) does not exceed a limit.
Value to measure (strings used as-is; others JSON-stringified).
Maximum allowed byte length.
Error message string or generator function.
Assert that the byte length of a value (stringified) does not exceed a limit.