| 74 | } |
| 75 | |
| 76 | bool writeBlob (const MemoryBlock& blob) |
| 77 | { |
| 78 | if (! (output.writeIntBigEndian ((int) blob.getSize()) |
| 79 | && output.write (blob.getData(), blob.getSize()))) |
| 80 | return false; |
| 81 | |
| 82 | const size_t numPaddingZeros = ~(blob.getSize() - 1) & 3; |
| 83 | |
| 84 | return output.writeRepeatedByte (0, numPaddingZeros); |
| 85 | } |
| 86 | |
| 87 | bool writeColour (OSCColour colour) |
| 88 | { |
nothing calls this directly
no test coverage detected