title: How to get character array which is inside StringBuilder to avoid array copy
body: <p>Is there any way by which I can get character array stored inside StringBuilder to avoid creating copy of it when I do toString(). Since, it is a primitive array so it is like deep copy and I would like to avoid generating this garbage.</p>