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

  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 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.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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
Read the given number of bytes from the stream.
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.)

Protected Methods

  NameDescription
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

See Also