pub fn validate_rlp_integer_payload(payload: &[u8]) -> Result<(), DecodeError>Expand description
Validates canonical Ethereum RLP integer payload bytes.
This validates the decoded scalar payload only, not a complete RLP item. The empty payload represents zero. Non-empty payloads must be shortest-form unsigned big-endian bytes without a leading zero.
Callers operating on untrusted wire data should use decode_rlp_integer,
which enforces DecodeLimits before reaching this payload helper.