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

Method writeMessageBegin

lib/php/lib/Protocol/TBinaryProtocol.php:48–63  ·  view source on GitHub ↗
($name, $type, $seqid)

Source from the content-addressed store, hash-verified

46 }
47
48 public function writeMessageBegin($name, $type, $seqid)
49 {
50 if ($this->strictWrite_) {
51 $version = self::VERSION_1 | $type;
52
53 return
54 $this->writeI32($version) +
55 $this->writeString($name) +
56 $this->writeI32($seqid);
57 } else {
58 return
59 $this->writeString($name) +
60 $this->writeByte($type) +
61 $this->writeI32($seqid);
62 }
63 }
64
65 public function writeMessageEnd()
66 {

Callers

nothing calls this directly

Calls 3

writeI32Method · 0.95
writeStringMethod · 0.95
writeByteMethod · 0.95

Tested by

no test coverage detected