mirror of
https://github.com/yume-chan/ya-webadb.git
synced 2025-10-03 01:39:21 +02:00
15 lines
405 B
TypeScript
15 lines
405 B
TypeScript
import type { StructInit } from "@yume-chan/struct";
|
|
import { string, struct, u8 } from "@yume-chan/struct";
|
|
|
|
export const ScrcpyStartAppControlMessage = struct(
|
|
{
|
|
// value of `type` can change between versions
|
|
type: u8,
|
|
name: string(u8),
|
|
},
|
|
{ littleEndian: false },
|
|
);
|
|
|
|
export type ScrcpyStartAppControlMessage = StructInit<
|
|
typeof ScrcpyStartAppControlMessage
|
|
>;
|