commit | 08018dd92565e74c46e58aae91895edad761cc84 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Sat Feb 01 11:29:20 2020 -0800 |
committer | Kenny Root <kroot@google.com> | Sat Feb 01 11:29:28 2020 -0800 |
tree | d55485c322becf3fcf94f47f894fb92ed90a13cb | |
parent | 2801b037cda7614851a9a650d02f5dc833cfe0e7 [diff] |
rebootescrow: eliminate copy during read Instead of reading into a std::string, read directly into the std::vector of bytes This saves a copy and reduces memory overhead slightly. Test: atest VtsHalRebootEscrowTargetTest Bug: 148177693 Change-Id: I4dfe552f21394fb0891858b34a481b489dc3c684