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 members.

Public Constructors

  NameDescription
Public methodDataInputDataInputNewOverloaded.

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 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 methodReadBytesOnlyOverloaded.
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 methodReadObject<__int64>
Public methodReadObject<bool>
Public methodReadObject<double>
Public methodReadObject<float>
Public methodReadObject<int>
Public methodReadObject<short>
Public methodReadObject<unsigned char>
Public methodReadObject<wchar_t>
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.)

Protected Methods

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

Public 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.

See Also