Revert "include assert.h"

This reverts commit 4690351dc67e951560fd2e0ee07516f6ab995218.
Revert "update StringBuffer interface"

This reverts commit d3ecf8615f25275888011456a9a8e278a2941990.
update StringBuffer interface