public ByteStringBuilder append(char c) { return appendUtf8Raw((int) c); }
public ByteStringBuilder append(CharSequence s, int offs, int len) { int c; int i = 0; while (i < len) { c = s.charAt(offs + i++); if (Character.isHighSurrogate((char) c)) { if (i < len) { char t = s.charAt(offs + i ++); if (! Character.isLowSurrogate(t)) { throw new IllegalArgumentException(); } c = Character.toCodePoint((char) c, t); } else { throw new IllegalArgumentException(); } } appendUtf8Raw(c); } return this; }
public ByteStringBuilder append(String s, int offs, int len) { int c; int i = 0; while (i < len) { c = s.charAt(offs + i++); if (Character.isHighSurrogate((char) c)) { if (i < len) { char t = s.charAt(offs + i ++); if (! Character.isLowSurrogate(t)) { throw new IllegalArgumentException(); } c = Character.toCodePoint((char) c, t); } else { throw new IllegalArgumentException(); } } appendUtf8Raw(c); } return this; }
public ByteStringBuilder appendUtf8(CodePointIterator iterator) { while (iterator.hasNext()) { appendUtf8Raw(iterator.next()); } return this; }
target.appendUtf8Raw(cp);
public ByteStringBuilder append(char c) { return appendUtf8Raw((int) c); }
public ByteStringBuilder append(char c) { return appendUtf8Raw((int) c); }
public ByteStringBuilder append(CharSequence s, int offs, int len) { int c; int i = 0; while (i < len) { c = s.charAt(offs + i++); if (Character.isHighSurrogate((char) c)) { if (i < len) { char t = s.charAt(offs + i ++); if (! Character.isLowSurrogate(t)) { throw new IllegalArgumentException(); } c = Character.toCodePoint((char) c, t); } else { throw new IllegalArgumentException(); } } appendUtf8Raw(c); } return this; }
public ByteStringBuilder append(CharSequence s, int offs, int len) { int c; int i = 0; while (i < len) { c = s.charAt(offs + i++); if (Character.isHighSurrogate((char) c)) { if (i < len) { char t = s.charAt(offs + i ++); if (! Character.isLowSurrogate(t)) { throw new IllegalArgumentException(); } c = Character.toCodePoint((char) c, t); } else { throw new IllegalArgumentException(); } } appendUtf8Raw(c); } return this; }
public ByteStringBuilder append(String s, int offs, int len) { int c; int i = 0; while (i < len) { c = s.charAt(offs + i++); if (Character.isHighSurrogate((char) c)) { if (i < len) { char t = s.charAt(offs + i ++); if (! Character.isLowSurrogate(t)) { throw new IllegalArgumentException(); } c = Character.toCodePoint((char) c, t); } else { throw new IllegalArgumentException(); } } appendUtf8Raw(c); } return this; }
public ByteStringBuilder append(String s, int offs, int len) { int c; int i = 0; while (i < len) { c = s.charAt(offs + i++); if (Character.isHighSurrogate((char) c)) { if (i < len) { char t = s.charAt(offs + i ++); if (! Character.isLowSurrogate(t)) { throw new IllegalArgumentException(); } c = Character.toCodePoint((char) c, t); } else { throw new IllegalArgumentException(); } } appendUtf8Raw(c); } return this; }
public ByteStringBuilder appendUtf8(CodePointIterator iterator) { while (iterator.hasNext()) { appendUtf8Raw(iterator.next()); } return this; }
public ByteStringBuilder appendUtf8(CodePointIterator iterator) { while (iterator.hasNext()) { appendUtf8Raw(iterator.next()); } return this; }