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

Method writeString

JUCE/modules/juce_osc/osc/juce_OSCSender.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 bool writeString (const String& value)
67 {
68 if (! output.writeString (value))
69 return false;
70
71 const size_t numPaddingZeros = ~value.getNumBytesAsUTF8() & 3;
72
73 return output.writeRepeatedByte ('\0', numPaddingZeros);
74 }
75
76 bool writeBlob (const MemoryBlock& blob)
77 {

Callers

nothing calls this directly

Calls 2

getNumBytesAsUTF8Method · 0.80
writeRepeatedByteMethod · 0.45

Tested by

no test coverage detected