MCPcopy Create free account
hub / github.com/apache/thrift / writeStructBegin

Method writeStructBegin

lib/php/lib/Protocol/TJSONProtocol.php:477–480  ·  view source on GitHub ↗

* Writes a struct header. * * @param string $name Struct name * @throws TException on write error * @return int How many bytes written */

($name)

Source from the content-addressed store, hash-verified

475 * @return int How many bytes written
476 */
477 public function writeStructBegin($name)
478 {
479 $this->writeJSONObjectStart();
480 }
481
482 /**
483 * Close a struct.

Callers

nothing calls this directly

Calls 1

writeJSONObjectStartMethod · 0.95

Tested by

no test coverage detected