Move find_apk_path to Rust

This commit is contained in:
topjohnwu
2023-06-10 01:40:45 -07:00
parent 40f25f4d56
commit f33f1d25d0
6 changed files with 44 additions and 64 deletions
+7
View File
@@ -202,6 +202,13 @@ struct byte_data : public byte_view {
std::vector<size_t> patch(byte_view from, byte_view to);
};
template<size_t N>
struct byte_array : public byte_data {
byte_array() : byte_data(arr, N), arr{0} {}
private:
uint8_t arr[N];
};
class byte_channel;
struct heap_data : public byte_data {