Click or drag to resize
DataInput Class
Provides operations for reading primitive data values, byte arrays, strings, IGFSerializable objects from a byte stream.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Generic.Internal.UMWrap<gemfire::DataInput>]
    GemStone.GemFire.Cache.GenericDataInput

Namespace: GemStone.GemFire.Cache.Generic
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
public sealed class DataInput : [T:GemStone.GemFire.Cache.Generic.Internal.UMWrap<gemfire::DataInput>]

The DataInput type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBytesRead
Get the count of bytes that have been read from the stream.
Public propertyBytesRemaining
Get the count of bytes that are remaining in the buffer.
Public propertyNativeIntPtr
Get the underlying native unmanaged pointer.
Top
Methods
  NameDescription
Public methodAdvanceCursor
Advance the cursor of the buffer by the given offset.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodReadArrayLen
Read a array len based on array size.
Public methodReadArrayOfByteArrays
Read a array of signed byte array from the stream.
Public methodReadASCIIHuge
Read a ASCII string from the stream. Where size is more than 2^16-1
Public methodReadBoolean
Read a boolean value from the stream.
Public methodReadBooleanArray
Read a bool array from the stream.
Public methodReadBytes
Read an array of bytes from the stream reading the length from the stream first.
Public methodReadBytesOnly(UInt32)
Read the given number of bytes from the stream.
Public methodReadBytesOnly(Byte, Int32, Int32)
Public methodReadChar
Read a char value from the stream.
Public methodReadCharArray
Read a char array from the stream.
Public methodReadCollection
Read a collection from the stream in a given collection instance.
Public methodReadDate
Read a date from the stream.
Public methodReadDictionary
Read a dictionary from the stream in a given dictionary instance.
Public methodReadDouble
Read a double precision number from the stream.
Public methodReadDoubleArray
Read a double array from the stream.
Public methodReadFloat
Read a floating point number from the stream.
Public methodReadFloatArray
Read a float array from the stream.
Public methodReadInt16
Read a 16-bit integer from the stream.
Public methodReadInt32
Read a 32-bit integer from the stream.
Public methodReadInt64
Read a 64-bit integer from the stream.
Public methodReadIntArray
Read a int array from the stream.
Public methodReadLongArray
Read a long array from the stream.
Public methodReadObject
Read a serializable object from the data. Null objects are handled.
Public methodReadObjectArray
Read a object array from the stream from the stream.
Public methodReadSByte
Read a signed byte from the stream.
Public methodReadSBytes
Read an array of signed bytes from the stream reading the length from the stream first.
Public methodReadSBytesOnly
Read the given number of signed bytes from the stream.
Public methodReadShortArray
Read a short int array from the stream.
Public methodReadUTF
Read a string after java-modified UTF-8 decoding from the stream. The maximum length supported is 2^16-1 beyond which the string shall be truncated.
Public methodReadUTFHuge
Read a string after java-modified UTF-8 decoding from the stream.
Public methodReset
Reset the cursor to the start of buffer.
Public methodRewindCursor
Rewind the cursor of the buffer by the given offset.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also