Interface IBinaryFormatProvider<T>
Represents binary format provider.
Namespace: Telerik.Windows.Documents.Common.FormatProviders
Assembly: Telerik.Windows.Documents.Core.dll
Syntax
public interface IBinaryFormatProvider<T>
Type Parameters
T
|
Methods
Export(T)
Exports the specified document.
Declaration
[Obsolete("This method is obsolete. Please use Export(T document, TimeSpan? timeout) instead.")]
byte[] Export(T document)
Parameters
T
document
The document. |
Returns
System.Byte[]
The result byte array. |
Export(T, Nullable<TimeSpan>)
Exports the specified document.
Declaration
byte[] Export(T document, TimeSpan? timeout)
Parameters
T
document
The document. |
System.Nullable<System.TimeSpan>
timeout
The timeout after which the operation will be cancelled. |
Returns
System.Byte[]
The result byte array. |
Import(Byte[])
Imports the specified input.
Declaration
[Obsolete("This method is obsolete. Please use Import(byte[] input, TimeSpan? timeout) instead.")]
T Import(byte[] input)
Parameters
System.Byte[]
input
The input. |
Returns
T
The document. |
Import(Byte[], Nullable<TimeSpan>)
Imports the specified input.
Declaration
T Import(byte[] input, TimeSpan? timeout)
Parameters
System.Byte[]
input
The input. |
System.Nullable<System.TimeSpan>
timeout
The timeout after which the operation will be cancelled. |
Returns
T
The document. |