Class SingleEncoder
Encode a character array float as a Lucene.Net.Util.BytesRef.
NOTE: This was FloatEncoder in LuceneImplements
Inherited Members
Namespace: Lucene.Net.Analysis.Payloads
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class SingleEncoder : AbstractEncoder, IPayloadEncoder
Methods
Encode(char[], int, int)
Convert a char array to a Lucene.Net.Util.BytesRef
Declaration
public override BytesRef Encode(char[] buffer, int offset, int length)
Parameters
Type | Name | Description |
---|---|---|
char[] | buffer | |
int | offset | |
int | length |
Returns
Type | Description |
---|---|
BytesRef | encoded Lucene.Net.Util.BytesRef |