Show / Hide Table of Contents

    Class IdentityEncoder

    Does nothing other than convert the char array to a byte array using the specified encoding.

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

    Constructors

    | Improve this Doc View Source

    IdentityEncoder()

    Declaration
    public IdentityEncoder()
    | Improve this Doc View Source

    IdentityEncoder(Encoding)

    Declaration
    public IdentityEncoder(Encoding charset)
    Parameters
    Type Name Description
    Encoding charset

    Fields

    | Improve this Doc View Source

    m_charset

    Declaration
    protected Encoding m_charset
    Field Value
    Type Description
    Encoding

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)