Diffusion .NET Client Library  6.1.5
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PushTechnology.ClientInterface.Data.Binary.IBinaryDataType Interface Reference

The binary data type. More...

Inheritance diagram for PushTechnology.ClientInterface.Data.Binary.IBinaryDataType:
PushTechnology.ClientInterface.Data.IDataType< TValue > PushTechnology.ClientInterface.Data.IDataType

Properties

IDeltaType< IBinary, IBinaryDeltaBinaryDeltaType [get]
 Returns support for binary deltas. More...
 
- Properties inherited from PushTechnology.ClientInterface.Data.IDataType
string TypeName [get]
 Returns the external type identifier. More...
 

Additional Inherited Members

- Public Member Functions inherited from PushTechnology.ClientInterface.Data.IDataType< TValue >
void WriteValue (TValue value, Stream outputStream)
 Serializes a value to binary. More...
 
new TValue ReadValue (byte[] input, int offset, int length)
 Parses a value from a binary data segment. More...
 
new TValue ReadValue (byte[] input)
 Parses a value from a binary. More...
 
new TValue ReadValue (IBytes bytes)
 Parses a value from binary. More...
 
void Validate (TValue value)
 Checks whether a value is valid. More...
 
IDeltaType< TValue, TDelta > DeltaType< TDelta > ()
 Returns a IDeltaType by type. More...
 
IBytes ToBytes (TValue value)
 Returns the serialized form of the given value as IBytes. More...
 
bool CanReadAs< TResult > ()
 Checks whether this data type is compatible with the given type parameter. More...
 
TResult ReadAs< TResult > (byte[] input, int offset, int length)
 Creates a value of a compatible type from a binary data segment. More...
 
TResult ReadAs< TResult > (byte[] input)
 Creates a value of a compatible type from a binary data segment. More...
 
TResult ReadAs< TResult > (IBytes bytes)
 Creates a value of a compatible type from a binary. More...
 
- Public Member Functions inherited from PushTechnology.ClientInterface.Data.IDataType
void WriteValue (object value, Stream outputStream)
 Serializes a value to binary. More...
 
void Validate (object value)
 Checks whether a value is valid. More...
 
IDeltaType DeltaType (string typeName)
 Returns a IDeltaType by name. More...
 
IDeltaType DeltaType (Type valueDeltaType)
 Returns a IDeltaType by type. More...
 
IBytes ToBytes (object value)
 Returns the serialized form of the given value as IBytes. More...
 
bool CanReadAs (Type resultType)
 Checks whether this data type is compatible with the given resultType . More...
 
object ReadAs (Type resultType, byte[] input, int offset, int length)
 Creates a value of a compatible type from a binary data segment. More...
 
object ReadAs (Type resultType, byte[] input)
 Creates a value of a compatible type from a binary data segment. More...
 
object ReadAs (Type resultType, IBytes bytes)
 Creates a value of a compatible type from binary. More...
 

Detailed Description

The binary data type.

IBinary values can be used to store and transmit arbitrary information. The responsibility for formatting and interpreting the information belongs solely to the application. Before using binary for a topic, consider other data types such as JSON.IJSON or single value topic types; these may provide a simpler interface for your application.

The implementation provides support for binary deltas.

Since 5.8

Property Documentation

IDeltaType<IBinary, IBinaryDelta> PushTechnology.ClientInterface.Data.Binary.IBinaryDataType.BinaryDeltaType
get

Returns support for binary deltas.

Equivalent to calling DeltaType(typeof(IBinaryDelta)).


The documentation for this interface was generated from the following file: