encode

open override fun encode(buffer: CharArray): BytesRef