Syntax

C#
public sealed class DataOutput
Visual Basic (Declaration)
Public NotInheritable Class DataOutput
Visual C++
public ref class DataOutput sealed

The type exposes the following methods.

Public Methods

  NameDescription
Public methodAdvanceCursor
Advance the buffer cursor by the given offset.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetBuffer
Get a copy of the current buffer.
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 methodReset
Reset the cursor to the start of the buffer.
Public methodRewindCursor
Rewind the buffer cursor by the given offset.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodWriteBoolean
Write a boolean value to the DataOutput.
Public methodWriteByte
Write a byte to the DataOutput.
Public methodWriteBytesOverloaded.
Public methodWriteBytesOnlyOverloaded.
Public methodWriteDouble
Write a double precision real number to the DataOutput.
Public methodWriteFloat
Write a float to the DataOutput.
Public methodWriteInt16
Write a 16-bit integer to the DataOutput.
Public methodWriteInt32
Write a 32-bit integer to the DataOutput.
Public methodWriteInt64
Write a 64-bit integer to the DataOutput.
Public methodWriteObjectOverloaded.
Public methodWriteSByte
Write a signed byte to the DataOutput.
Public methodWriteSBytesOverloaded.
Public methodWriteSBytesOnlyOverloaded.
Public methodWriteUInt16
Write an unsigned short integer (Int16) to the DataOutput.
Public methodWriteUInt32
Write an unsigned 32-bit integer to the DataOutput.
Public methodWriteUInt64
Write an unsigned 64-bit integer to the DataOutput.
Public methodWriteUTF
Write a string using java-modified UTF-8 encoding to DataOutput. The maximum length supported is 2^16-1 beyond which the string shall be truncated.
Public methodWriteUTFHuge
Write a string using java-modified UTF-8 encoding to DataOutput.

Protected Methods

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

See Also