MCPcopy Create free account
hub / github.com/CobaltFusion/DebugViewPP / Read

Function Read

DebugView++Lib/DbgviewReader.cpp:28–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28std::vector<unsigned char> Read(std::stringstream& is, size_t amount)
29{
30 if (amount < 1)
31 return std::vector<unsigned char>();
32 std::vector<unsigned char> buffer(amount);
33 is.read(reinterpret_cast<char*>(buffer.data()), amount);
34 return buffer;
35}
36
37namespace Magic
38{

Callers 3

LoopMethod · 0.70
ReadStringZMethod · 0.50
ReadStringZMethod · 0.50

Calls 1

dataMethod · 0.80

Tested by 1

ReadStringZMethod · 0.40