| 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 | { |
nothing calls this directly
no test coverage detected