Replace the CanConsume pattern in components/cbor.
Instead, combine the length check with the reading. This means we don't need the iterator access to match CanConsume calls above it. Bug: none Change-Id: I541048c0f399d90650e87c3b995ac3a0ad9fccb6 Reviewed-on: https://chromium-review.googlesource.com/1195708 Commit-Queue: David Benjamin <davidben@chromium.org> Reviewed-by:Balazs Engedy <engedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#587337}
Showing
Please register or sign in to comment