Interface IDataSink

Represents a destination data sink for writing to.

Namespace: PSPDFKitFoundation
Assembly: PSPDFKitFoundation.dll
Syntax
public interface IDataSink

Methods

| Improve this Doc View Source

Finish()

All writing operations are complete. This can be useful for situations such as encrypting the output.

Declaration
bool Finish()
Returns
Type Description
System.Boolean

True if successful.

| Improve this Doc View Source

WriteDataAsync(IBuffer)

Data to be written or appended to the data sink.

Declaration
IAsyncOperation<bool> WriteDataAsync(IBuffer data)
Parameters
Type Name Description
Windows.Storage.Streams.IBuffer data

The Windows.Storage.Streams.IBuffer of data to be written.

Returns
Type Description
Windows.Foundation.IAsyncOperation<System.Boolean>

True if successful.