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

Function WriteAMFBool

src/brpc/amf.cpp:956–959  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

954}
955
956void WriteAMFBool(bool val, AMFOutputStream* stream) {
957 stream->put_u8(AMF_MARKER_BOOLEAN);
958 stream->put_u8(val);
959}
960
961void WriteAMFNumber(double val, AMFOutputStream* stream) {
962 stream->put_u8(AMF_MARKER_NUMBER);

Callers 3

PlayMethod · 0.85
PauseMethod · 0.85
OnPlayMethod · 0.85

Calls 1

put_u8Method · 0.80

Tested by

no test coverage detected