MCPcopy Create free account
hub / github.com/LizardByte/Sunshine / replace

Function replace

src/stream.cpp:940–955  ·  view source on GitHub ↗

* @brief Replace a byte sequence in an encoded packet. * * @param original Original text value used when reporting a parsing failure. * @param old Byte sequence to replace in encoded packets. * @param _new Replacement byte sequence inserted into encoded packets. * @return Copy of the original buffer with each matching byte sequence replaced. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

videoBroadcastThreadFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected