private final void getArray(CharBuffer out){
private final int getArray(CharBuffer out){
    private final void getArray(CharBuffer out){        if(out.hasArray()){            output = out.array();            outEnd = out.arrayOffset() + out.limit();            data[OUTPUT_WRITTEN] = (out.arrayOffset()+out.position());        }else{            outEnd = out.remaining();            if(output==null || (outEnd > output.length)){                output = new char[outEnd];            }            //since the new             // buffer start position             // is 0            data[OUTPUT_WRITTEN] = 0;        }            }