Interface IDataSink
Represents a destination data sink for writing to.
Namespace: PSPDFKitFoundation.Data
Assembly: PSPDFKitFoundation.dll
Syntax
public interface IDataSink
Properties
DataSinkOption
The Data
Declaration
DataSinkOption DataSinkOption { get; }
Property Value
Type | Description |
---|---|
Data |
Methods
Finish()
All writing operations are complete. This can be useful for situations such as encrypting the output.
Declaration
bool Finish()
Returns
Type | Description |
---|---|
System. |
True if successful. |
WriteDataAsync(IBuffer)
Data to be written or appended to the data sink.
Declaration
IAsyncOperation<bool> WriteDataAsync(IBuffer data)
Parameters
Type | Name | Description |
---|---|---|
Windows. |
data | The Windows. |
Returns
Type | Description |
---|---|
Windows. |
True if successful. |