Function ScratchBuffer.opSlice
Borrows the exact live contiguous prefix.
T[] opSlice() scope nothrow @nogc @trusted;
const(T)[] opSlice() scope const nothrow @nogc @trusted;
Successful structural mutation, reset, successful capacity growth, whole-buffer move, or destruction invalidates previously returned slices.