MCPcopy Create free account
hub / github.com/apitrace/apitrace / ByteArrayBuf

Method ByteArrayBuf

gui/apisurface.cpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28struct ByteArrayBuf : public std::streambuf
29{
30 ByteArrayBuf(const QByteArray & a)
31 {
32 setg((char *)a.data(), (char *)a.data(), (char *)a.data() + a.size());
33 }
34};
35
36QImage ApiSurface::calculateThumbnail(bool opaque, bool alpha) const

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected