Decode the payload that was encoded using encodeFloat(float)

NOTE: the length of the array must be at least offset + 4 long.

Namespace: Lucene.Net.Analyzers.Payloads
Assembly: Lucene.Net.Contrib.Analyzers (in Lucene.Net.Contrib.Analyzers.dll) Version: 2.9.2.1 (2.9.2.1)

Syntax

C#
public static float DecodeFloat(
	byte[] bytes,
	int offset
)
Visual Basic
Public Shared Function DecodeFloat ( _
	bytes As Byte(), _
	offset As Integer _
) As Single
Visual C++
public:
static float DecodeFloat(
	array<unsigned char>^ bytes, 
	int offset
)

Parameters

bytes
Type: array<System..::..Byte>[]()[][]
The bytes to decode
offset
Type: System..::..Int32
The offset into the array.

Return Value

The float that was encoded

See Also