| 91 | } |
| 92 | |
| 93 | Composition* ReadCompositionID(DecodeStream* stream) { |
| 94 | auto id = stream->readEncodedUint32(); |
| 95 | if (id > 0) { |
| 96 | auto composition = new Composition(); |
| 97 | composition->id = id; |
| 98 | return composition; |
| 99 | } |
| 100 | return nullptr; |
| 101 | } |
| 102 | |
| 103 | std::string ReadString(DecodeStream* stream) { |
| 104 | return stream->readUTF8String(); |
no test coverage detected