commit | 3c327d2996ebbfc52c9711fbb3f55de77feae316 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Tue Jun 08 20:51:54 2021 +0900 |
committer | Jiyong Park <jiyong@google.com> | Tue Jun 08 21:29:59 2021 +0900 |
tree | 053d0e4e6873dc2b2a1c7b0e2d0758f090b802d6 | |
parent | e8c63687760d6a0a242f22a4d0f5992cac7b0844 [diff] |
apkdmverity: use data_model crate for better handling of C structs The data_model:DataInit trait provides methods for converting between a C struct and an array of the same size, allowing us to drop the hand crafted as_u8_slice methods. Bug: N/A Test: cargo test Test: atest apkdmverity.test Change-Id: Iaff910f0a638e91a428777b94dc6fb0b5fe53831