MCPcopy Create free account
hub / github.com/audacity/audacity / Drain

Function Drain

modules/import-export/mod-cl/ExportCL.cpp:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60{
61
62void Drain(wxInputStream *s, wxString *o)
63{
64 while (s->CanRead()) {
65 char buffer[4096];
66
67 s->Read(buffer, WXSIZEOF(buffer) - 1);
68 buffer[s->LastRead()] = wxT('\0');
69 *o += LAT1CTOWX(buffer);
70 }
71}
72
73struct ExtendPath
74{

Callers 2

OnTerminateMethod · 0.85
ProcessMethod · 0.85

Calls 1

ReadMethod · 0.45

Tested by

no test coverage detected