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

Method appendStr

lang/php/lib/IO/AvroStringIO.php:111–118  ·  view source on GitHub ↗

* Appends bytes to this buffer. * @param string $str * @returns integer count of bytes written. */

($str)

Source from the content-addressed store, hash-verified

109 * @returns integer count of bytes written.
110 */
111 private function appendStr($str)
112 {
113 $this->checkClosed();
114 $this->string_buffer .= $str;
115 $len = strlen($str);
116 $this->current_index += $len;
117 return $len;
118 }
119
120 /**
121 * @returns string bytes read from buffer

Callers 1

writeMethod · 0.95

Calls 1

checkClosedMethod · 0.95

Tested by

no test coverage detected