public BytesRef encode(char[] buffer) {return encode(buffer, 0, buffer.length);}

public BytesRef encode ( char [ ] buffer ) { return encode ( buffer , 0 , buffer . length ) ; }
public virtual BytesRef Encode(char[] buffer){return Encode(buffer, 0, buffer.Length);}
