Click or drag to resize

IData Interface

Data is basic unit of serialization.

Namespace:  Hazelcast.IO.Serialization
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.11
Syntax
public interface IData

The IData type exposes the following members.

Methods
  NameDescription
Public methodDataSize
Returns size of internal binary data in bytes
Public methodGetHeapCost
Returns approximate heap cost of this Data object in bytes.
Public methodGetPartitionHash
Returns partition hash calculated for serialized object.
Public methodGetTypeId
Returns serialization type of binary form.
Public methodHasPartitionHash
Returns true if Data has partition hash, false otherwise.
Public methodIsPortable
Returns true if this Data is created from a IPortable object, false otherwise.
Public methodToByteArray
Returns byte array representation of internal binary format.
Public methodTotalSize
Returns the total size of Data in bytes
Top
Remarks
Data is basic unit of serialization. It stores binary form of an object serialized
See Also