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

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

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