VMware Tanzu GemFire .NET Client API Reference
Provides operations for reading primitive data values, byte arrays, strings, ISerializable objects from a byte stream.
More...
Inherited by IDataInputExtended.
Public Member Functions | |
| sbyte | ReadSByte () |
| Read a signed byte from the stream. More... | |
| bool | ReadBoolean () |
| Read a boolean value from the stream. More... | |
| char | ReadChar () |
| Read a char value from the stream. More... | |
| byte[] | ReadBytes () |
| Read an IReadOnlyCollection of bytes from the stream reading the length from the stream first. More... | |
| sbyte[] | ReadSBytes () |
| Read an IReadOnlyCollection of signed bytes from the stream reading the length from the stream first. More... | |
| byte[] | ReadBytesOnly (int len) |
| Read the given number of bytes from the stream. More... | |
| void | ReadBytesOnly (byte[] buffer, int offset, int count) |
| Read the given number of bytes from the stream begining at given offset. More... | |
| IReadOnlyCollection< sbyte > | ReadSBytesOnly (uint len) |
| Read the given number of signed bytes from the stream. More... | |
| int | ReadArrayLen () |
| Read a ICollection len based on ICollection size. More... | |
| byte | ReadByte () |
| Read an 8-bit unsigned integer from the stream. More... | |
| short | ReadInt16 () |
| Read a 16-bit integer from the stream. More... | |
| int | ReadInt32 () |
| Read a 32-bit integer from the stream. More... | |
| long | ReadInt64 () |
| Read a 64-bit integer from the stream. More... | |
| float | ReadFloat () |
| Read a floating point number from the stream. More... | |
| double | ReadDouble () |
| Read a double precision number from the stream. More... | |
| string | ReadString () |
| Read a string from the stream. More... | |
| dynamic | ReadObject () |
| Read a serializable object from the data. Null objects are handled. More... | |
| void | AdvanceCursor (int offset) |
| Advance the cursor of the buffer by the given offset. More... | |
| void | RewindCursor (int offset) |
| Rewind the cursor of the buffer by the given offset. More... | |
| void | Reset () |
| Reset the cursor to the start of buffer. More... | |
| IDictionary< object, object > | ReadDictionary () |
| Read a IDictionary<TKey, TValue> from the stream in a given dictionary instance. More... | |
| DateTime | ReadDate () |
| Read a date from the stream. More... | |
| char[] | ReadCharArray () |
| Read a char IReadOnlyCollection from the stream. More... | |
| bool[] | ReadBooleanArray () |
| Read a bool IReadOnlyCollection from the stream. More... | |
| short[] | ReadShortArray () |
| Read a short int IReadOnlyCollection from the stream. More... | |
| int[] | ReadIntArray () |
| Read a int IReadOnlyCollection from the stream. More... | |
| long[] | ReadLongArray () |
| Read a long IReadOnlyCollection from the stream. More... | |
| float[] | ReadFloatArray () |
| Read a float IReadOnlyCollection from the stream. More... | |
| double[] | ReadDoubleArray () |
| Read a double IReadOnlyCollection from the stream. More... | |
| List< object > | ReadObjectArray () |
| Read a object IReadOnlyCollection from the stream from the stream. More... | |
| string[] | ReadStringArray () |
| Read a string array from the stream from the stream. More... | |
| byte[][] | ReadArrayOfByteArrays () |
| Read a IReadOnlyCollection of signed byte IReadOnlyCollection from the stream. More... | |
Properties | |
| int | BytesRead [get] |
| Get the count of bytes that have been read from the stream. More... | |
| int | BytesRemaining [get] |
| Get the count of bytes that are remaining in the buffer. More... | |
Detailed Description
Provides operations for reading primitive data values, byte arrays, strings, ISerializable objects from a byte stream.
Member Function Documentation
◆ AdvanceCursor()
| void IDataInput.AdvanceCursor | ( | int | offset | ) |
Advance the cursor of the buffer by the given offset.
- Parameters
-
offset The offset(number of bytes) by which to advance the cursor.
◆ ReadArrayLen()
| int IDataInput.ReadArrayLen | ( | ) |
Read a ICollection len based on ICollection size.
◆ ReadArrayOfByteArrays()
| byte [][] IDataInput.ReadArrayOfByteArrays | ( | ) |
Read a IReadOnlyCollection of signed byte IReadOnlyCollection from the stream.
◆ ReadBoolean()
| bool IDataInput.ReadBoolean | ( | ) |
Read a boolean value from the stream.
◆ ReadBooleanArray()
| bool [] IDataInput.ReadBooleanArray | ( | ) |
Read a bool IReadOnlyCollection from the stream.
◆ ReadByte()
| byte IDataInput.ReadByte | ( | ) |
Read an 8-bit unsigned integer from the stream.
◆ ReadBytes()
| byte [] IDataInput.ReadBytes | ( | ) |
Read an IReadOnlyCollection of bytes from the stream reading the length from the stream first.
◆ ReadBytesOnly() [1/2]
| void IDataInput.ReadBytesOnly | ( | byte[] | buffer, |
| int | offset, | ||
| int | count | ||
| ) |
Read the given number of bytes from the stream begining at given offset.
- Parameters
-
buffer buffer to write bytes into from stream offset byte offset to begin reading count Number of bytes to read.
◆ ReadBytesOnly() [2/2]
| byte [] IDataInput.ReadBytesOnly | ( | int | len | ) |
Read the given number of bytes from the stream.
- Parameters
-
len Number of bytes to read.
◆ ReadChar()
| char IDataInput.ReadChar | ( | ) |
Read a char value from the stream.
◆ ReadCharArray()
| char [] IDataInput.ReadCharArray | ( | ) |
Read a char IReadOnlyCollection from the stream.
◆ ReadDate()
| DateTime IDataInput.ReadDate | ( | ) |
Read a date from the stream.
◆ ReadDictionary()
| IDictionary<object, object> IDataInput.ReadDictionary | ( | ) |
Read a IDictionary<TKey, TValue> from the stream in a given dictionary instance.
◆ ReadDouble()
| double IDataInput.ReadDouble | ( | ) |
Read a double precision number from the stream.
◆ ReadDoubleArray()
| double [] IDataInput.ReadDoubleArray | ( | ) |
Read a double IReadOnlyCollection from the stream.
◆ ReadFloat()
| float IDataInput.ReadFloat | ( | ) |
Read a floating point number from the stream.
◆ ReadFloatArray()
| float [] IDataInput.ReadFloatArray | ( | ) |
Read a float IReadOnlyCollection from the stream.
◆ ReadInt16()
| short IDataInput.ReadInt16 | ( | ) |
Read a 16-bit integer from the stream.
◆ ReadInt32()
| int IDataInput.ReadInt32 | ( | ) |
Read a 32-bit integer from the stream.
◆ ReadInt64()
| long IDataInput.ReadInt64 | ( | ) |
Read a 64-bit integer from the stream.
◆ ReadIntArray()
| int [] IDataInput.ReadIntArray | ( | ) |
Read a int IReadOnlyCollection from the stream.
◆ ReadLongArray()
| long [] IDataInput.ReadLongArray | ( | ) |
Read a long IReadOnlyCollection from the stream.
◆ ReadObject()
| dynamic IDataInput.ReadObject | ( | ) |
Read a serializable object from the data. Null objects are handled.
◆ ReadObjectArray()
| List<object> IDataInput.ReadObjectArray | ( | ) |
Read a object IReadOnlyCollection from the stream from the stream.
◆ ReadSByte()
| sbyte IDataInput.ReadSByte | ( | ) |
Read a signed byte from the stream.
◆ ReadSBytes()
| sbyte [] IDataInput.ReadSBytes | ( | ) |
Read an IReadOnlyCollection of signed bytes from the stream reading the length from the stream first.
◆ ReadSBytesOnly()
| IReadOnlyCollection<sbyte> IDataInput.ReadSBytesOnly | ( | uint | len | ) |
Read the given number of signed bytes from the stream.
- Parameters
-
len Number of signed bytes to read.
◆ ReadShortArray()
| short [] IDataInput.ReadShortArray | ( | ) |
Read a short int IReadOnlyCollection from the stream.
◆ ReadString()
| string IDataInput.ReadString | ( | ) |
Read a string from the stream.
◆ ReadStringArray()
| string [] IDataInput.ReadStringArray | ( | ) |
Read a string array from the stream from the stream.
◆ Reset()
| void IDataInput.Reset | ( | ) |
Reset the cursor to the start of buffer.
◆ RewindCursor()
| void IDataInput.RewindCursor | ( | int | offset | ) |
Rewind the cursor of the buffer by the given offset.
- Parameters
-
offset The offset(number of bytes) by which to rewind the cursor.
Property Documentation
◆ BytesRead
|
get |
Get the count of bytes that have been read from the stream.
◆ BytesRemaining
|
get |
Get the count of bytes that are remaining in the buffer.
The documentation for this interface was generated from the following file:
- gemfire.client/Interfaces/IDataInput.cs

