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
Name | Description |
---|---|
GetRawDataOutput() | After writing portable fields, one can write remaining fields in old fashioned way consecutively at the end of stream. |
WriteBoolean(string, bool) | Writes a primitive boolean. |
WriteBooleanArray(string, bool[]) | 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, float) | Writes a primitive float. |
WriteFloatArray(string, float[]) | Writes a primitive float array. |
WriteInt(string, int) | Writes a primitive int. |
WriteIntArray(string, int[]) | Writes a primitive int-array. |
WriteLong(string, long) | Writes a primitive long. |
WriteLongArray(string, long[]) | Writes a primitive long-array. |
WriteNullPortable(string, int, int) | 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, short) | Writes a primitive short. |
WriteShortArray(string, short[]) | Writes a primitive short-array. |
WriteString(string, string) | Writes an UTF string. |
WriteStringArray(string, string[]) | Writes a primitive string-array. |