C# Class Lucene.Net.Analysis.Payloads.IdentityEncoder

Does nothing other than convert the char array to a byte array using the specified encoding.
Inheritance: AbstractEncoder, IPayloadEncoder
显示文件 Open project: apache/lucenenet

Protected Properties

Property Type Description
charset System.Text.Encoding

Public Methods

Method Description
Encode ( char buffer, int offset, int length ) : BytesRef
IdentityEncoder ( ) : Lucene.Net.Util
IdentityEncoder ( Encoding charset ) : Lucene.Net.Util

Method Details

Encode() public method

public Encode ( char buffer, int offset, int length ) : BytesRef
buffer char
offset int
length int
return BytesRef

IdentityEncoder() public method

public IdentityEncoder ( ) : Lucene.Net.Util
return Lucene.Net.Util

IdentityEncoder() public method

public IdentityEncoder ( Encoding charset ) : Lucene.Net.Util
charset System.Text.Encoding
return Lucene.Net.Util

Property Details

charset protected_oe property

protected Encoding,System.Text charset
return System.Text.Encoding