/** * Write the characters of a string in a format similar to UTF-8. * * @param s the string * @param len the number of characters to write * @return this */ public WriteBuffer putStringData(String s, int len) { ByteBuffer b = ensureCapacity(3 * len); DataUtils.writeStringData(b, s, len); return this; }
/** * Write the characters of a string in a format similar to UTF-8. * * @param s the string * @param len the number of characters to write * @return this */ public WriteBuffer putStringData(String s, int len) { ByteBuffer b = ensureCapacity(3 * len); DataUtils.writeStringData(b, s, len); return this; }
/** * Write the characters of a string in a format similar to UTF-8. * * @param s the string * @param len the number of characters to write * @return this */ public WriteBuffer putStringData(String s, int len) { ByteBuffer b = ensureCapacity(3 * len); DataUtils.writeStringData(b, s, len); return this; }