Collapse All Expand All

C#

Oracle® Coherence .NET API Reference
BinaryDeltaCompressor..::.EnsureWriter Method
BinaryDeltaCompressor Class See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01
Make sure that a DataWriter exists if one doesn't already.

Namespace: Tangosol.IO
Assembly: Coherence (in Coherence.dll) Version: 3.6.1.0 (3.6.1.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

BinaryDeltaCompressor Class
Tangosol.IO Namespace