const bool case_sensitive = (impl_->compress_mode_ ==
MessageRenderer::CASE_SENSITIVE);
for (nlabels_uncomp = 0; nlabels_uncomp < nlabels; ++nlabels_uncomp) {
+ if (nlabels_uncomp > 0) {
+ sequence.stripLeft(1);
+ }
+
data = sequence.getData(&data_len);
if (data_len == 1) { // trailing dot.
++nlabels_uncomp;
if (ptr_offset != MessageRendererImpl::NO_OFFSET) {
break;
}
-
- if (nlabels_uncomp + 1 < nlabels) {
- sequence.stripLeft(1);
- }
}
// Record the current offset before updating the offset table