pub fn decode_rlp_integer_partial<'a>(
input: &'a [u8],
accumulator: &mut DecodeAccumulator,
) -> Result<RlpInteger<'a>, DecodeError>Expand description
Decodes one canonical RLP integer from the start of input.
Warning: this intentionally accepts trailing bytes. Use
decode_rlp_integer when the full input must be consumed.
The input-length budget check applies to the full input slice, not only
the consumed integer bytes. Callers that decode from a larger outer buffer
must pre-slice before calling this helper.