MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / readString

Method readString

JUCE/modules/juce_core/streams/juce_InputStream.cpp:182–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182String InputStream::readString()
183{
184 MemoryOutputStream buffer;
185
186 for (;;)
187 {
188 auto c = readByte();
189 buffer.writeByte (c);
190
191 if (c == 0)
192 return buffer.toUTF8();
193 }
194}
195
196String InputStream::readNextLine()
197{

Callers 10

parseUserDefinedChunkMethod · 0.45
parseInformationChunkMethod · 0.45
CustomTypefaceMethod · 0.45
loadAsBinaryMethod · 0.45
applyChangeMethod · 0.45
readFromStreamMethod · 0.45
runTestMethod · 0.45
loadFunction · 0.45

Calls 2

writeByteMethod · 0.80
toUTF8Method · 0.45

Tested by

no test coverage detected