XmlIncrementalReader.compact

void compact() @safe pure nothrow

Moves unread bytes to the front of the internal buffer to reclaim space.

This is purely an optimisation hint. It does not change any logical parsing state, location counters, or visible status. Previously returned front() event strings remain valid after compact().