Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Get a portion of the contents of the Binary as a byte array.

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

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