Method EncodeSingle
EncodeSingle(Single)
NOTE: This was encodeFloat() in Lucene
Declaration
public static byte[] EncodeSingle(float payload)
Parameters
Type |
Name |
Description |
System.Single |
payload |
|
Returns
Type |
Description |
System.Byte[] |
|
EncodeSingle(Single, Byte[], Int32)
NOTE: This was encodeFloat() in Lucene
Declaration
public static byte[] EncodeSingle(float payload, byte[] data, int offset)
Parameters
Type |
Name |
Description |
System.Single |
payload |
|
System.Byte[] |
data |
|
System.Int32 |
offset |
|
Returns
Type |
Description |
System.Byte[] |
|