decodeRLPCheck function
- Uint8List input
Implementation
RLPItem decodeRLPCheck(Uint8List input) {
final (item, consumed) = decodeRLP(input);
if (consumed != input.length) {
throw RLPException("Invalid RLP: input is longer than specified length");
}
return item;
}