Show / Hide Table of Contents

    Class SingleEncoder

    Encode a character array as a BytesRef.

    NOTE: This was FloatEncoder in Lucene

    Inheritance
    System.Object
    AbstractEncoder
    SingleEncoder
    Implements
    IPayloadEncoder
    Inherited Members
    AbstractEncoder.Encode(Char[])
    Namespace: Lucene.Net.Analysis.Payloads
    Assembly: Lucene.Net.Analysis.Common.dll
    Syntax
    public class SingleEncoder : AbstractEncoder, IPayloadEncoder

    Methods

    | Improve this Doc View Source

    Encode(Char[], Int32, Int32)

    Declaration
    public override BytesRef Encode(char[] buffer, int offset, int length)
    Parameters
    Type Name Description
    System.Char[] buffer
    System.Int32 offset
    System.Int32 length
    Returns
    Type Description
    BytesRef
    Overrides
    AbstractEncoder.Encode(Char[], Int32, Int32)

    Implements

    IPayloadEncoder

    See Also

    EncodeSingle(Single, Byte[], Int32)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)