Click or drag to resize
DataOutput Class

Note: This API is now obsolete.

Provides operations for writing primitive data values, and user-defined objects implementing IGFSerializable, to a byte stream. This class is intentionally not thread safe.
Inheritance Hierarchy
SystemObject
  [T:GemStone.GemFire.Cache.Internal.UMWrap<gemfire::DataOutput>]
    GemStone.GemFire.CacheDataOutput

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 DataOutput : [T:GemStone.GemFire.Cache.Internal.UMWrap<gemfire::DataOutput>]

The DataOutput type exposes the following members.

Constructors
  NameDescription
Public methodDataOutput
Default constructor.
Top
Properties
  NameDescription
Public propertyBufferLength
Get the length of current data in the buffer.
Public propertyNativeIntPtr
Get the underlying native unmanaged pointer.
Top
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 the default hash function.
(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 methodWriteArrayLen
Write length of the array to the DataOutput.
Public methodWriteASCIIHuge
Write a string(only ASCII char) to DataOutput. Length should be more than 2^16 -1.
Public methodWriteBoolean
Write a boolean value to the DataOutput.
Public methodWriteByte
Write a byte to the DataOutput.
Public methodWriteBytes(Byte)
Write an array of bytes to the DataOutput.
Public methodWriteBytes(Byte, Int32)
Write a given length of bytes to the DataOutput.
Public methodWriteBytesOnly(Byte)
Write an array of bytes without its length to the DataOutput.
Public methodWriteBytesOnly(Byte, UInt32)
Write a given length of bytes without its length to the DataOutput.
Public methodWriteBytesOnly(Byte, UInt32, UInt32)
Public methodWriteDate
Public methodWriteDictionary
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 methodWriteObject(IGFSerializable)
Write an IGFSerializable object to the DataOutput.
Public methodWriteObject(Serializable)
Write a Serializable object to the DataOutput. This is provided to conveniently pass primitive types (like string) that shall be implicitly converted to corresponding IGFSerializable wrapper types.
Public methodWriteSByte
Write a signed byte to the DataOutput.
Public methodWriteSBytes(SByte)
Write an array of signed bytes to the DataOutput.
Public methodWriteSBytes(SByte, Int32)
Write a given length of signed bytes to the DataOutput.
Public methodWriteSBytesOnly(SByte)
Write an array of signed bytes without its length to the DataOutput.
Public methodWriteSBytesOnly(SByte, UInt32)
Write a given length of signed bytes without its length to the DataOutput.
Public methodWriteUInt16
Write an unsigned short integer (int16_t) 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. Length should be more than 2^16 -1.
Top
See Also