MCPcopy Create free account
hub / github.com/apache/avro / truncate

Method truncate

lang/php/lib/IO/AvroStringIO.php:228–234  ·  view source on GitHub ↗

* Truncates the truncate buffer to 0 bytes and returns the pointer * to the beginning of the buffer. * @returns boolean true */

()

Source from the content-addressed store, hash-verified

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

Callers 3

writeBlockMethod · 0.80
write_blockMethod · 0.80
_write_blockMethod · 0.80

Calls 1

checkClosedMethod · 0.95

Tested by

no test coverage detected