Class IntegerEncoder
Encode a character array int as a Lucene.Net.Util.BytesRef.
See EncodeInt32(int, byte[], int).Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Payloads
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class IntegerEncoder : 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 |