Class BinaryCodecConstraints
Constructors
Properties
maxBufferLength
maxBufferLength: number
maxListLength
maxListLength: number
Methods
checkBufferLength
- checkBufferLength(buffer: Buffer): void
Returns void
checkListLength
- checkListLength(length: number): void
Returns void
This constraint avoids computer-freezing decode bugs (e.g. due to invalid ABI or struct definitions).