public static int UTF8toUTF16(BytesRef bytesRef, char[] chars) {return UTF8toUTF16(bytesRef.bytes, bytesRef.offset, bytesRef.length, chars);}

public static void UTF8toUTF16(BytesRef bytesRef, CharsRef chars){UTF8toUTF16(bytesRef.Bytes, bytesRef.Offset, bytesRef.Length, chars);}
