Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(oer): isSafeLength should not accept zero
Since isSafeLength is used to sanitize inputs for methods like readUIntBE, it must not allow a length of zero which will trigger an exception. Allowing zero also did not match the type definition for SafeByteLength.
- Loading branch information