Oracle® Coherence .NET API Reference Release 3.6
E15727-01

Read a value of the specified encoding from the POF stream and convert it to a Single.

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

Syntax

C#
public static float ReadAsSingle(
	DataReader reader,
	int typeId
)

Parameters

reader
Type: Tangosol.IO..::.DataReader
The POF stream containing the value.
typeId
Type: System..::.Int32
The POF type of the value.

Return Value

The POF value as a Single.

Exceptions

ExceptionCondition
System.IO..::.IOException If an I/O error occurs reading the POF stream, or the POF value cannot be coerced to a Single value.

See Also