aboutsummaryrefslogtreecommitdiff
path: root/pw_crypto
diff options
context:
space:
mode:
authorScott James Remnant <keybuk@google.com>2022-03-22 17:24:44 -0700
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-03-24 23:20:35 +0000
commit1425cfb38a13dc1e3a01adfffee2565bc5e9b83a (patch)
tree7e741c113c6fe38de9895a940ea994ac08ac3727 /pw_crypto
parent0bae3eda13ccf79d977ceb1af5bb7e7aadde0181 (diff)
downloadpigweed-1425cfb38a13dc1e3a01adfffee2565bc5e9b83a.tar.gz
pw_protobuf: Refactor field parsing
Refactor the field parsing of individual and packed fixed and varint fields to take the same basic approach, with a consistent internal API. Internal ReadFixedField, ReadVarintField, ReadPackedFixedField, and ReadPackedVarintField methods now consistently output into the passed span of bytes. This provides a better foundation API for future decoding extensions. Change-Id: I8306677a8639acca7525dcaf75d786cf2edd3ed8 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/88860 Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com> Reviewed-by: Keir Mierle <keir@google.com> Reviewed-by: Armando Montanez <amontanez@google.com> Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Diffstat (limited to 'pw_crypto')
0 files changed, 0 insertions, 0 deletions