protected void writeCharSequence(CharSequence seq,CharBuf buffer){
  if (seq.length() > 0) {
    buffer.addJsonEscapedString(seq.toString(),disableUnicodeEscaping);
  }
 else {
    buffer.addChars(EMPTY_STRING_CHARS);
  }
}

protected void writeCharSequence ( CharSequence seq , CharBuf buffer ) { if ( seq . length ( ) > 0 ) { buffer . addJsonEscapedString ( seq . toString ( ) , disableUnicodeEscaping ) ; } else { buffer . addChars ( EMPTY_STRING_CHARS ) ; } }
serializes any char sequence and writes it into specified buffer .
