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

Method MutableObject

src/brpc/amf.cpp:201–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201AMFObject* AMFField::MutableObject() {
202 if (!IsObject()) {
203 Clear();
204 _type = AMF_MARKER_OBJECT;
205 _obj = new AMFObject;
206 }
207 return _obj;
208}
209
210AMFArray* AMFField::MutableArray() {
211 if (!IsArray()) {

Callers 2

AddObjectMethod · 0.80
ReadAMFObjectFieldFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected