Oracle® Coherence .NET API Reference Release 3.6
E15727-01

Make sure that a DataWriter exists if one doesn't already.

Namespace:  Tangosol.IO
Assembly:  Coherence (in Coherence.dll) Version: 3.6.0.0 (3.6.0.0)

Syntax

C#
protected static DataWriter EnsureWriter(
	DataWriter writer,
	int cbMax
)

Parameters

writer
Type: Tangosol.IO..::.DataWriter
The existing DataWriter or null.
cbMax
Type: System..::.Int32
The expected resulting size of the write buffer

Return Value

A DataWriter, never null

See Also