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

Method SetNumber

src/brpc/amf.cpp:172–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void AMFField::SetNumber(double val) {
173 if (_type != AMF_MARKER_NUMBER) {
174 Clear();
175 _type = AMF_MARKER_NUMBER;
176 }
177 _num = val;
178}
179
180void AMFField::SetNull() {
181 if (_type != AMF_MARKER_NULL) {

Callers 2

AddNumberMethod · 0.80
ReadAMFObjectFieldFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected