Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Make sure that a DataWriter exists if one doesn't already.

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

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