feat(scrcpy): video stream works

This commit is contained in:
Simon Chan 2020-10-01 16:11:29 +08:00
parent 870a5b969e
commit 28fe85ab80
14 changed files with 232 additions and 54 deletions

View file

@ -256,6 +256,22 @@ export default class Struct<
);
}
public int64<
TName extends string,
TTypeScriptType = Number.TypeScriptType<Number.SubType.Int64>
>(
name: TName,
options: FieldDescriptorBaseOptions = {},
_typescriptType?: TTypeScriptType,
) {
return this.number(
name,
Number.SubType.Int64,
options,
_typescriptType
);
}
private array: AddArrayFieldDescriptor<TResult, TInit, TExtra, TAfterParsed> = (
name: string,
type: Array.SubType,