@yume-chan/scrcpy
Version:
TypeScript implementation of Scrcpy client.
15 lines (12 loc) • 350 B
text/typescript
import type { StructInit } from "@yume-chan/struct";
import { string, struct, u8 } from "@yume-chan/struct";
export const ScrcpyStartAppControlMessage = struct(
{
type: u8,
name: string(u8),
},
{ littleEndian: false },
);
export type ScrcpyStartAppControlMessage = StructInit<
typeof ScrcpyStartAppControlMessage
>;