Syntax
| C# |
|---|
public sealed class DataInput |
| Visual Basic (Declaration) |
|---|
Public NotInheritable Class DataInput |
| Visual C++ |
|---|
public ref class DataInput sealed |
The type exposes the following methods.
Public Methods
| Name | Description | |
|---|---|---|
| AdvanceCursor |
Advance the cursor of the buffer by the given offset.
| |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode()() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ReadBoolean |
Read a boolean value from the stream.
| |
| ReadByte |
Read a byte from the stream.
| |
| ReadBytes |
Read an array of bytes from the stream reading the length
from the stream first.
| |
| ReadBytesOnly |
Read the given number of bytes from the stream.
| |
| ReadDouble |
Read a double precision number from the stream.
| |
| ReadFloat |
Read a floating point number from the stream.
| |
| ReadInt16 |
Read a 16-bit integer from the stream.
| |
| ReadInt32 |
Read a 32-bit integer from the stream.
| |
| ReadInt64 |
Read a 64-bit integer from the stream.
| |
| ReadObject |
Read a serializable object from the data. Null objects are handled.
| |
| ReadSByte |
Read a signed byte from the stream.
| |
| ReadSBytes |
Read an array of signed bytes from the stream reading the length
from the stream first.
| |
| ReadSBytesOnly |
Read the given number of signed bytes from the stream.
| |
| ReadUInt16 |
Read a 16-bit unsigned integer from the stream.
| |
| ReadUInt32 |
Read a 32-bit unsigned integer from the stream.
| |
| ReadUInt64 |
Read a 64-bit unsigned integer from the stream.
| |
| ReadUTF |
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.
| |
| ReadUTFHuge |
Read a string after java-modified UTF-8 decoding from the stream.
| |
| Reset |
Reset the cursor to the start of buffer.
| |
| RewindCursor |
Rewind the cursor of the buffer by the given offset.
| |
| ToString | (Inherited from Object.) |
Protected Methods
| Name | Description | |
|---|---|---|
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
See Also
GemStone.GemFire.Cache Namespace