Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Get a portion of the contents of the Binary as a byte array.

Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public byte[] ToByteArray(
	int of,
	int cb
)

Parameters

of
Type: System..::..Int32
The beginning index, inclusive.
cb
Type: System..::..Int32
The number of bytes to include in the resulting byte array.

Return Value

A byte array containing the specified portion of this Binary.

Exceptions

ExceptionCondition
System..::..ArgumentOutOfRangeException If of or cb is negative, or
CopyC#
of + cb
is larger than the length of this Binary.

See Also