* Truncates the truncate buffer to 0 bytes and returns the pointer * to the beginning of the buffer. * @returns boolean true */
()
| 226 | * @returns boolean true |
| 227 | */ |
| 228 | public function truncate() |
| 229 | { |
| 230 | $this->checkClosed(); |
| 231 | $this->string_buffer = ''; |
| 232 | $this->current_index = 0; |
| 233 | return true; |
| 234 | } |
| 235 | |
| 236 | /** |
| 237 | * @returns string |
no test coverage detected