public IpcRequest ReadIpcRequest() { byte[] binary = ReadMessage(); return(_serializer.DeserializeRequest(binary)); }
public async Task <IpcRequest> ReadIpcRequestAsync(CancellationToken cancellationToken = default(CancellationToken)) { byte[] binary = await ReadMessageAsync(cancellationToken); return(_serializer.DeserializeRequest(binary)); }