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

Function ReadAMFUint32

src/brpc/amf.cpp:332–339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

330}
331
332bool ReadAMFUint32(uint32_t* val, AMFInputStream* stream) {
333 double d;
334 if (!ReadAMFNumber(&d, stream)) {
335 return false;
336 }
337 *val = (uint32_t)d;
338 return true;
339}
340
341bool ReadAMFNull(AMFInputStream* stream) {
342 uint8_t marker;

Callers 13

TESTFunction · 0.85
OnConnectMethod · 0.85
OnResultMethod · 0.85
OnErrorMethod · 0.85
OnStatusMethod · 0.85
OnPlayMethod · 0.85
OnPlay2Method · 0.85
OnDeleteStreamMethod · 0.85
OnCloseStreamMethod · 0.85
OnPublishMethod · 0.85
OnSeekMethod · 0.85
OnPauseMethod · 0.85

Calls 1

ReadAMFNumberFunction · 0.85

Tested by 1

TESTFunction · 0.68