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