VMware Tanzu GemFire .NET Client API Reference
Provides operations for writing primitive data values, and user-defined objects implementing ISerializable, to a byte stream. This class is intentionally not thread safe. More...
Inherited by IDataOutputExtended.
Public Member Functions | |
| int | GetBufferLength () |
Gets length of the DataOutput buffer. More... | |
| void | WriteArrayLen (int len) |
Write length of the ICollection to the DataOutput. More... | |
| void | WriteSByte (sbyte value) |
Write a signed byte to the DataOutput. More... | |
| void | WriteBoolean (bool value) |
Write a boolean value to the DataOutput. More... | |
| void | WriteChar (char value) |
Write a char value to the DataOutput. More... | |
| void | WriteSBytesOnly (sbyte[] bytes) |
Write an array of signed bytes without its length to the DataOutput. More... | |
| void | WriteSBytes (sbyte[] bytes, int len) |
Write an array of signed bytes to the DataOutput. More... | |
| void | WriteSBytes (sbyte[] bytes) |
Write an array of signed bytes to the DataOutput. More... | |
| void | WriteBytesOnly (byte[] bytes, int len, int offset) |
Write an IReadOnlyCollection of bytes without its length to the DataOutput. More... | |
| void | WriteBytesOnly (byte[] bytes, int len) |
Write an IReadOnlyCollection of bytes without its length to the DataOutput. More... | |
| void | WriteBytes (byte[] bytes, int len) |
Write an IReadOnlyCollection of bytes to the DataOutput. More... | |
| void | WriteByte (byte value) |
Write a 8-bit unsigned integer to the DataOutput. More... | |
| void | WriteInt16 (short value) |
Write a 16-bit integer to the DataOutput. More... | |
| void | WriteInt32 (int value) |
Write a 32-bit integer to the DataOutput. More... | |
| void | WriteInt64 (long value) |
Write a 64-bit integer to the DataOutput. More... | |
| void | WriteFloat (float value) |
| Write a float to the DataOutput. More... | |
| void | WriteDouble (double value) |
Write a double precision real number to the DataOutput. More... | |
| void | WriteString (string value) |
Write a string to the DataOutput. More... | |
| void | WriteObject (dynamic obj) |
Write a Serializable object to the DataOutput. This is provided to conveniently pass primitive types (like string) that shall be implicitly converted to corresponding ISerializable wrapper types. More... | |
| void | AdvanceCursor (int offset) |
| Advance the buffer cursor by the given offset. More... | |
| void | RewindCursor (int offset) |
| Rewind the buffer cursor by the given offset. More... | |
| void | Reset () |
| Reset the cursor to the start of the buffer. More... | |
| void | WriteDictionary (IReadOnlyDictionary< object, object > value) |
| Write a Dictionary to the DataOutput. More... | |
| void | WriteDate (DateTime value) |
| Write a date to the DataOutput. More... | |
| void | WriteCharArray (char[] value) |
| Write a char IReadOnlyCollection to the DataOutput. More... | |
| void | WriteBooleanArray (bool[] value) |
| Write a bool IReadOnlyCollection to the DataOutput. More... | |
| void | WriteShortArray (short[] value) |
| Write a short IReadOnlyCollection to the DataOutput. More... | |
| void | WriteIntArray (int[] value) |
| Write a int IReadOnlyCollection to the DataOutput. More... | |
| void | WriteLongArray (long[] value) |
| Write a long IReadOnlyCollection to the DataOutput. More... | |
| void | WriteFloatArray (float[] value) |
| Write a float IReadOnlyCollection to the DataOutput. More... | |
| void | WriteDoubleArray (double[] value) |
| Write a double IReadOnlyCollection to the DataOutput. More... | |
| void | WriteObjectArray (object[] value) |
| Write a object IReadOnlyCollection to the DataOutput. More... | |
| void | WriteStringArray (string[] value) |
| Write a string array to the DataOutput. More... | |
| void | WriteArrayOfByteArrays (byte[][] value) |
| Write a IReadOnlyCollection of sign byte IReadOnlyCollection to the DataOutput. More... | |
Properties | |
| IReadOnlyCollection< byte > | Buffer [get] |
| Get a copy of the current buffer. More... | |
| ITypeRegistry | TypeRegistry [get, set] |
| Get a copy of the TypeRegistry. More... | |
Detailed Description
Provides operations for writing primitive data values, and user-defined objects implementing ISerializable, to a byte stream. This class is intentionally not thread safe.
Member Function Documentation
◆ AdvanceCursor()
| void IDataOutput.AdvanceCursor | ( | int | offset | ) |
Advance the buffer cursor by the given offset.
- Parameters
-
offset The offset by which to advance the cursor.
◆ GetBufferLength()
| int IDataOutput.GetBufferLength | ( | ) |
Gets length of the DataOutput buffer.
◆ Reset()
| void IDataOutput.Reset | ( | ) |
Reset the cursor to the start of the buffer.
◆ RewindCursor()
| void IDataOutput.RewindCursor | ( | int | offset | ) |
Rewind the buffer cursor by the given offset.
- Parameters
-
offset The offset by which to rewind the cursor.
◆ WriteArrayLen()
| void IDataOutput.WriteArrayLen | ( | int | len | ) |
Write length of the ICollection to the DataOutput.
- Parameters
-
len Array len to write.
◆ WriteArrayOfByteArrays()
| void IDataOutput.WriteArrayOfByteArrays | ( | byte | value[][] | ) |
Write a IReadOnlyCollection of sign byte IReadOnlyCollection to the DataOutput.
- Parameters
-
value The IReadOnlyCollection of sign byte IReadOnlyCollection to write.
◆ WriteBoolean()
| void IDataOutput.WriteBoolean | ( | bool | value | ) |
Write a boolean value to the DataOutput.
- Parameters
-
value The boolean value to write.
◆ WriteBooleanArray()
| void IDataOutput.WriteBooleanArray | ( | bool[] | value | ) |
Write a bool IReadOnlyCollection to the DataOutput.
- Parameters
-
value The bool IReadOnlyCollection to write.
◆ WriteByte()
| void IDataOutput.WriteByte | ( | byte | value | ) |
Write a 8-bit unsigned integer to the DataOutput.
- Parameters
-
value The 8-bit unsigned integer to write.
◆ WriteBytes()
| void IDataOutput.WriteBytes | ( | byte[] | bytes, |
| int | len | ||
| ) |
Write an IReadOnlyCollection of bytes to the DataOutput.
- Parameters
-
bytes The IReadOnlyCollection of bytes to write. len length of bytes to be written
◆ WriteBytesOnly() [1/2]
| void IDataOutput.WriteBytesOnly | ( | byte[] | bytes, |
| int | len | ||
| ) |
Write an IReadOnlyCollection of bytes without its length to the DataOutput.
- Parameters
-
bytes The IReadOnlyCollection of bytes to write. len length of bytes to be written
◆ WriteBytesOnly() [2/2]
| void IDataOutput.WriteBytesOnly | ( | byte[] | bytes, |
| int | len, | ||
| int | offset | ||
| ) |
Write an IReadOnlyCollection of bytes without its length to the DataOutput.
- Parameters
-
bytes The IReadOnlyCollection of bytes to write. len length of bytes to be written offset offset in the byte array to begin writing
◆ WriteChar()
| void IDataOutput.WriteChar | ( | char | value | ) |
Write a char value to the DataOutput.
- Parameters
-
value The char value to write.
◆ WriteCharArray()
| void IDataOutput.WriteCharArray | ( | char[] | value | ) |
Write a char IReadOnlyCollection to the DataOutput.
- Parameters
-
value The char IReadOnlyCollection to write.
◆ WriteDate()
| void IDataOutput.WriteDate | ( | DateTime | value | ) |
Write a date to the DataOutput.
- Parameters
-
value The date value to write.
◆ WriteDictionary()
| void IDataOutput.WriteDictionary | ( | IReadOnlyDictionary< object, object > | value | ) |
Write a Dictionary to the DataOutput.
- Parameters
-
value The object which implements IReadOnlyDictionary to write.
◆ WriteDouble()
| void IDataOutput.WriteDouble | ( | double | value | ) |
Write a double precision real number to the DataOutput.
- Parameters
-
value The double precision real number to write.
◆ WriteDoubleArray()
| void IDataOutput.WriteDoubleArray | ( | double[] | value | ) |
Write a double IReadOnlyCollection to the DataOutput.
- Parameters
-
value The double IReadOnlyCollection to write.
◆ WriteFloat()
| void IDataOutput.WriteFloat | ( | float | value | ) |
Write a float to the DataOutput.
- Parameters
-
value The float value to write.
◆ WriteFloatArray()
| void IDataOutput.WriteFloatArray | ( | float[] | value | ) |
Write a float IReadOnlyCollection to the DataOutput.
- Parameters
-
value The float IReadOnlyCollection to write.
◆ WriteInt16()
| void IDataOutput.WriteInt16 | ( | short | value | ) |
Write a 16-bit integer to the DataOutput.
- Parameters
-
value The 16-bit integer to write.
◆ WriteInt32()
| void IDataOutput.WriteInt32 | ( | int | value | ) |
Write a 32-bit integer to the DataOutput.
- Parameters
-
value The 32-bit integer to write.
◆ WriteInt64()
| void IDataOutput.WriteInt64 | ( | long | value | ) |
Write a 64-bit integer to the DataOutput.
- Parameters
-
value The 64-bit integer to write.
◆ WriteIntArray()
| void IDataOutput.WriteIntArray | ( | int[] | value | ) |
Write a int IReadOnlyCollection to the DataOutput.
- Parameters
-
value The int IReadOnlyCollection to write.
◆ WriteLongArray()
| void IDataOutput.WriteLongArray | ( | long[] | value | ) |
Write a long IReadOnlyCollection to the DataOutput.
- Parameters
-
value The long IReadOnlyCollection to write.
◆ WriteObject()
| void IDataOutput.WriteObject | ( | dynamic | obj | ) |
Write a Serializable object to the DataOutput. This is provided to conveniently pass primitive types (like string) that shall be implicitly converted to corresponding ISerializable wrapper types.
- Parameters
-
obj The object to write.
◆ WriteObjectArray()
| void IDataOutput.WriteObjectArray | ( | object[] | value | ) |
Write a object IReadOnlyCollection to the DataOutput.
- Parameters
-
value The object IReadOnlyCollection to write.
◆ WriteSByte()
| void IDataOutput.WriteSByte | ( | sbyte | value | ) |
Write a signed byte to the DataOutput.
- Parameters
-
value The signed byte to write.
◆ WriteSBytes() [1/2]
| void IDataOutput.WriteSBytes | ( | sbyte[] | bytes | ) |
Write an array of signed bytes to the DataOutput.
- Parameters
-
bytes The array of signed bytes to write.
◆ WriteSBytes() [2/2]
| void IDataOutput.WriteSBytes | ( | sbyte[] | bytes, |
| int | len | ||
| ) |
Write an array of signed bytes to the DataOutput.
- Parameters
-
bytes The array of signed bytes to write. len number of bytes to write
◆ WriteSBytesOnly()
| void IDataOutput.WriteSBytesOnly | ( | sbyte[] | bytes | ) |
Write an array of signed bytes without its length to the DataOutput.
- Parameters
-
bytes The array of signed bytes to write.
◆ WriteShortArray()
| void IDataOutput.WriteShortArray | ( | short[] | value | ) |
Write a short IReadOnlyCollection to the DataOutput.
- Parameters
-
value The short IReadOnlyCollection to write.
◆ WriteString()
| void IDataOutput.WriteString | ( | string | value | ) |
Write a string to the DataOutput.
- Parameters
-
value string to be written.
◆ WriteStringArray()
| void IDataOutput.WriteStringArray | ( | string[] | value | ) |
Write a string array to the DataOutput.
- Parameters
-
value The string array to write.
Property Documentation
◆ Buffer
|
get |
Get a copy of the current buffer.
◆ TypeRegistry
|
getset |
Get a copy of the TypeRegistry.
The documentation for this interface was generated from the following file:
- gemfire.client/Interfaces/IDataOutput.cs

