mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 03:23:02 +00:00
15 lines
375 B
TypeScript
15 lines
375 B
TypeScript
import { MMKVParser } from '../MMKVParser';
|
|
|
|
export function parseAndroidQmEKey(view: DataView): Map<string, string> {
|
|
const mmkv = new MMKVParser(view);
|
|
const result = new Map<string, string>();
|
|
while (!mmkv.eof) {
|
|
const key = mmkv.readString();
|
|
const value = mmkv.readStringValue();
|
|
if (value) {
|
|
result.set(key, value);
|
|
}
|
|
}
|
|
return result;
|
|
}
|