Asserts that the provided buffer is of a specific length and does not contain leading zeros.
The buffer to validate.
Descriptive context for error messages, usually representing the caller's identity.
The expected maximum number of bytes that the buffer can contain.
Asserts that the provided buffer is of a specific length and does not contain leading zeros.
Throws