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

Determine the number of bytes required to encode the given integer using a packed 32-bit format.

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

Syntax

C#
public static byte LengthPackedInt32(
	int n
)

Parameters

n
Type: System..::.Int32
The integer to be encoded.

Return Value

The total number of bytes required to encode the given integer (0 - 5).

See Also