IdentityEncoder

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

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun encode(buffer: CharArray): BytesRef

open override fun encode(buffer: CharArray, offset: Int, length: Int): BytesRef

Convert a char array to a BytesRef