Returns position in the stream of the next write. Pads stream to even pos if necessary.
| 156 | |
| 157 | // Returns position in the stream of the next write. Pads stream to even pos if necessary. |
| 158 | size_t Encoder::nextWritePos() { |
| 159 | _out.padToEvenLength(); |
| 160 | return _out.length(); |
| 161 | } |
| 162 | |
| 163 | // Returns an opaque reference to the last value written, but not if it's inline. |
| 164 | Encoder::PreWrittenValue Encoder::lastValueWritten() const { |
no test coverage detected