Owned, prevalidated OSC 52 response. Preparation does not write any bytes. Serialize writeTo with all other terminal output, then close to clear the owned Base64 buffer. Closing and writing must not run concurrently.
Complete wire size, including the OSC introducer, selectors and ST.
Writes one complete response using bounded borrowed byte ranges.