Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IChooseYou/Reclass
/ buffer_readBytes_offset
Method
buffer_readBytes_offset
tests/test_provider.cpp:159–163 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
157
}
158
159
void buffer_readBytes_offset() {
160
QByteArray d(
"ABCDEFGH"
, 8);
161
BufferProvider p(d);
162
QCOMPARE(p.readBytes(4, 4), QByteArray(
"EFGH"
));
163
}
164
165
void buffer_readBytes_pastEnd() {
166
QByteArray d(4,
'X'
);
Callers
nothing calls this directly
Calls
1
readBytes
Method · 0.80
Tested by
no test coverage detected