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.
Namespace: Hazelcast.IO.Serialization
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
Syntax
The IPortableWriter type exposes the following members.
Methods
Name | Description | |
---|---|---|
GetRawDataOutput |
After writing portable fields, one can write remaining fields in old fashioned way consecutively at the end
of stream.
| |
WriteBoolean | Writes a primitive boolean. | |
WriteBooleanArray | Writes a primitive boolean-array. | |
WriteByte | Writes a primitive byte. | |
WriteByteArray | Writes a primitive byte-array. | |
WriteChar | Writes a primitive char. | |
WriteCharArray | Writes a primitive char-array. | |
WriteDouble | Writes a primitive double. | |
WriteDoubleArray | Writes a primitive double array. | |
WriteFloat | Writes a primitive float. | |
WriteFloatArray | Writes a primitive float array. | |
WriteInt | Writes a primitive int. | |
WriteIntArray | Writes a primitive int-array. | |
WriteLong | Writes a primitive long. | |
WriteLongArray | Writes a primitive long-array. | |
WriteNullPortable | To write a null portable value, user needs to provide class and factoryIds of related class.
| |
WritePortable | Writes a Portable. | |
WritePortableArray | Writes a an array of Portables. | |
WriteShort | Writes a primitive short. | |
WriteShortArray | Writes a primitive short-array. | |
WriteUTF | Writes an UTF string. | |
WriteUTFArray | Writes a primitive string-array. |
Remarks
See Also