Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.1.3.0.0)
E47892-01

The Binary type exposes the following members.

Constructors

  NameDescription
Public methodBinary()()()()
Default constructor for a Binary object.
Public methodBinary(array<Byte>[]()[][])
Construct a Binary object from a byte array.
Public methodBinary(Stream, Int32)
Construct a Binary from a Stream.
Public methodBinary(array<Byte>[]()[][], Int32, Int32)
Construct a Binary on a portion of a byte array.

Methods

  NameDescription
Public methodByteAt
Returns a byte at the specified position.
Public methodCalculateNaturalPartition
Calculate the partition ID to which the specified Binary should be naturally assigned. This calculation should not be applied to Binary objects decorated with artificially assigned partitions.
Public methodStatic memberClone
Create a clone of the specified binary region.
Public methodEquals(Object)
Compare this object with another object to determine equality.
(Overrides Object..::..Equals(Object).)
Public methodStatic memberEquals(array<Byte>[]()[][], Int32, array<Byte>[]()[][], Int32, Int32)
Compare two binary regions, testing for equality.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBinary
Get a Binary representing a subset of this Binary.
Public methodGetHashCode
Determine a hash value for the Binary object.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetReader
Return a DataReader to read this Binary's contents from.
Public methodGetStream()()()()
Get a Stream to read the Binary object's contents from.
Public methodGetStream(Int32, Int32)
Get a Stream to read the Binary object's contents from.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToByteArray()()()()
Get the contents of the Binary as a byte array.
Public methodToByteArray(Int32, Int32)
Get a portion of the contents of the Binary as a byte array.
Public methodToString()()()()
Return a human-readable description for this Binary.
(Overrides Object..::..ToString()()()().)
Public methodStatic memberToString(array<Byte>[]()[][])
For debugging purposes, convert the passed byte array into a string that contains the information regarding whether the reference is null, and if it is not null, what the length of the byte array is.
Public methodWriteTo(BinaryWriter)
Write the contents of the Binary object to a Stream.
Public methodWriteTo(Stream)
Write the contents of the Binary object to a Stream.
Public methodWriteTo(BinaryWriter, Int32, Int32)
Write the contents of the Binary object to a BinaryWriter.
Public methodWriteTo(Stream, Int32, Int32)
Write the contents of the Binary object to a Stream.

Fields

  NameDescription
Public fieldStatic memberNO_BINARY
An empty Binary object.
Public fieldStatic memberNO_BYTES
An empty byte array (by definition immutable).

Properties

  NameDescription
Public propertyLength
Determine the length of the Binary.

See Also