MCPcopy Create free account
hub / github.com/apache/brpc / SetBool

Method SetBool

src/brpc/amf.cpp:164–170  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162}
163
164void AMFField::SetBool(bool val) {
165 if (_type != AMF_MARKER_BOOLEAN) {
166 Clear();
167 _type = AMF_MARKER_BOOLEAN;
168 }
169 _b = val;
170}
171
172void AMFField::SetNumber(double val) {
173 if (_type != AMF_MARKER_NUMBER) {

Callers 3

AddBoolMethod · 0.80
ReadAMFObjectFieldFunction · 0.80
OnCreateStreamMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected