diff options
author | Benjamin Barenblat <bbaren@google.com> | 2018-08-23 12:23:39 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2018-08-23 12:23:39 -0400 |
commit | 9bbbf151b5bdde3f0bead1886996f17764e85521 (patch) | |
tree | 9cb2f7e814d99626bc7f4d99dacce6b03fdb9b96 /cbits | |
parent | f7277a0fa46d97de4fa871d3744af948d258a334 (diff) |
Factor out common allocate-modify-read pattern
Many functions in BoringSSL accept a buffer and a pointer to size, write
data into the buffer, and mutate the size. Create a function
representing this pattern that also loads the result into a ByteString
for convenience.
Diffstat (limited to 'cbits')
0 files changed, 0 insertions, 0 deletions