Returns the contents of this ByteArrayOutputStream as a string. Any changes made to the receiver after returning will not be reflected in the string returned to the caller. @return this stream's current contents as a string.
()
| 135 | */ |
| 136 | |
| 137 | @Override |
| 138 | public String toString() { |
| 139 | return new String(buf, 0, count); |
| 140 | } |
| 141 | |
| 142 | /** |
| 143 | * Returns the contents of this ByteArrayOutputStream as a string. Each byte |