public extern IAsyncOperationWithProgress<uint, uint> WriteAsync([In] IBuffer buffer); public extern IAsyncOperation<bool> FlushAsync();