function Message::serializeFieldToStream
@ignore
1 call to Message::serializeFieldToStream()
- Message::serializeToStream in vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ Message.php - @ignore
File
-
vendor/
google/ protobuf/ src/ Google/ Protobuf/ Internal/ Message.php, line 1408
Class
- Message
- Parent class of all proto messages. Users should not instantiate this class or extend this class or its child classes by their own. See the comment of specific functions for more details.
Namespace
Google\Protobuf\InternalCode
private function serializeFieldToStream(&$output, $field) {
if ($field->isMap()) {
return $this->serializeMapFieldToStream($field, $output);
}
elseif ($field->isRepeated()) {
return $this->serializeRepeatedFieldToStream($field, $output);
}
else {
return $this->serializeSingularFieldToStream($field, $output);
}
}