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

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.7.1.23 (3.7.1.23)

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