FastStringBuffer buf = new FastStringBuffer(0);
buf.append("rara");
buf.append("foo");
buf.deleteLastChars("foo".length());
assertEquals("rara", buf.toString());
buf.deleteLastChars(50);
assertEquals("", buf.toString());
}
public void testInsertN() throws Exception {
FastStringBuffer buf = new FastStringBuffer(0);