public static GetFilesResponse Deserialize(IPCReader reader) => new GetFilesResponse { Status = (GetFilesStatus)reader.ReadByte(), Files = reader.ReadLengthPrefixedFileArray() };
public static PutDirectoryCommand Deserialize(IPCReader reader) => new PutDirectoryCommand { Files = reader.ReadLengthPrefixedFileArray(), Path = reader.ReadString(), PreserveTimestamps = reader.ReadBoolean() };