feat(scrcpy): add client version 3.3.2 (#799)

This commit is contained in:
Simon Chan 2025-09-09 16:55:55 +08:00 committed by GitHub
parent 29de3e4842
commit b2512856be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
31 changed files with 397 additions and 302 deletions

View file

@ -0,0 +1,9 @@
export function toLocalUint8Array(value: Uint8Array): Uint8Array<ArrayBuffer> {
if (value.buffer instanceof ArrayBuffer) {
return value as Uint8Array<ArrayBuffer>;
}
const copy = new Uint8Array(value.length);
copy.set(value);
return copy;
}