Click or drag to resize
DataInput Class

Note: This API is now obsolete.

Provides operations for reading primitive data values, byte arrays, strings, IGFSerializable objects from a byte stream.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Internal.UMWrap<gemfire::DataInput>]
    GemStone.GemFire.CacheDataInput

Namespace: GemStone.GemFire.Cache
Assembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntax
[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public sealed class DataInput : [T:GemStone.GemFire.Cache.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 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 methodReadByte
Read a byte 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 methodReadDate
Public methodReadDictionary
Public methodReadDouble
Read a double precision number from the stream.
Public methodReadFloat
Read a floating point number 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 methodReadObject
Read a serializable object from the data. Null objects are handled.
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 methodReadUInt16
Read a 16-bit unsigned integer from the stream.
Public methodReadUInt32
Read a 32-bit unsigned integer from the stream.
Public methodReadUInt64
Read a 64-bit unsigned integer 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