IPortableWriter Interface
Namespace: Hazelcast.Serialization
Assembly: Hazelcast.Net.dll
Provides a mean of writing portable fields to a binary in form of primitives, arrays of primitives , nested portable fields and array of portable fields.
public interface IPortableWriter
Remarks
Provides a mean of writing portable fields to a binary in form of primitives, arrays of primitives , nested portable fields and array of portable fields.
Methods
GetRawDataOutput() | After writing portable fields, one can write remaining fields in old fashioned way consecutively at the end of stream. |
WriteBoolean(String, Boolean) | Writes a primitive boolean. |
WriteBooleanArray(String, Boolean[]) | Writes a primitive boolean-array. |
WriteByte(String, Byte) | Writes a primitive byte. |
WriteByteArray(String, Byte[]) | Writes a primitive byte-array. |
WriteChar(String, Char) | Writes a primitive char. |
WriteCharArray(String, Char[]) | Writes a primitive char-array. |
WriteDouble(String, Double) | Writes a primitive double. |
WriteDoubleArray(String, Double[]) | Writes a primitive double array. |
WriteFloat(String, Single) | Writes a primitive float. |
WriteFloatArray(String, Single[]) | Writes a primitive float array. |
WriteInt(String, Int32) | Writes a primitive int. |
WriteIntArray(String, Int32[]) | Writes a primitive int-array. |
WriteLong(String, Int64) | Writes a primitive long. |
WriteLongArray(String, Int64[]) | Writes a primitive long-array. |
WriteNullPortable(String, Int32, Int32) | To write a null portable value, user needs to provide class and factoryIds of related class. |
WritePortable(String, IPortable) | Writes a Portable. |
WritePortableArray<TPortable>(String, TPortable[]) | Writes a an array of Portables. |
WriteShort(String, Int16) | Writes a primitive short. |
WriteShortArray(String, Int16[]) | Writes a primitive short-array. |
WriteString(String, String) | Writes an UTF string. |
WriteStringArray(String, String[]) | Writes a primitive string-array. |