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

Construct a Binary from a Stream.

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

Syntax

C#
public Binary(
	Stream stream,
	int cb
)

Parameters

stream
Type: System.IO..::.Stream
The Stream from which the Binary will load its data.
cb
Type: System..::.Int32
The number of bytes to read from the Stream.

Exceptions

ExceptionCondition
System..::.ArgumentOutOfRangeException If cb is negative.

See Also