Class FileDataProvider
Inheritance
System.Object
FileDataProvider
Assembly: PSPDFKit.dll
Syntax
public sealed class FileDataProvider : object, IWritableDataProvider, IDataProvider
Constructors
FileDataProvider(String)
Declaration
public FileDataProvider(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
The path to open.
|
Properties
Path
Declaration
public string Path { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Finish()
Declaration
Returns
Type |
Description |
System.Boolean |
|
GetSize()
Declaration
Returns
Type |
Description |
System.Int64 |
|
GetUid()
Declaration
Returns
Type |
Description |
System.String |
|
Read(Int64, Int64)
Declaration
public IEnumerable<byte> Read(long size, long offset)
Parameters
Type |
Name |
Description |
System.Int64 |
size |
|
System.Int64 |
offset |
|
Returns
Type |
Description |
IEnumerable<System.Byte> |
|
StartWrite(DataSinkOption)
Declaration
public bool StartWrite(DataSinkOption dataSinkOption)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Write(Byte[])
Declaration
public bool Write(byte[] data)
Parameters
Type |
Name |
Description |
System.Byte[] |
data |
|
Returns
Type |
Description |
System.Boolean |
|
Implements