Class BinaryTransferObject<T>
Represents transfer object for value of blittable type.
Inheritance
BinaryTransferObject<T>
Implements
System.IConvertible<T>
Assembly: DotNext.IO.dll
Syntax
public class BinaryTransferObject<T> : IDataTransferObject, IConvertible<T> where T : struct
Type Parameters
Name |
Description |
T |
The type of encapsulated value.
|
Properties
|
Improve this Doc
View Source
Content
Gets or sets a value of blittable type encapsulated by this object.
Declaration
public T Content { get; set; }
Property Value
Explicit Interface Implementations
|
Improve this Doc
View Source
IDataTransferObject.IsReusable
Declaration
bool IDataTransferObject.IsReusable { get; }
Returns
|
Improve this Doc
View Source
IDataTransferObject.Length
Declaration
long? IDataTransferObject.Length { get; }
Returns
|
Improve this Doc
View Source
IDataTransferObject.WriteToAsync<TWriter>(TWriter, CancellationToken)
Declaration
ValueTask IDataTransferObject.WriteToAsync<TWriter>(TWriter writer, CancellationToken token)
where TWriter : IAsyncBinaryWriter
Parameters
Returns
Type Parameters
Implements
System.IConvertible<>
Extension Methods