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

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

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

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