* @returns int count of bytes in the buffer * @internal Could probably memoize length for performance, but * no need do this yet. */
()
| 142 | * no need do this yet. |
| 143 | */ |
| 144 | public function length() |
| 145 | { |
| 146 | return strlen($this->string_buffer); |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * @returns boolean true if successful |