totalBytes is the full combined output size as written, kept or not.
()
| 273 | |
| 274 | // totalBytes is the full combined output size as written, kept or not. |
| 275 | func (w *headTailBuffer) totalBytes() int64 { |
| 276 | return int64(len(w.head)) + w.tailBytes |
| 277 | } |
| 278 | |
| 279 | // String reassembles head + tail. The in-band seam marker keeps the two |
| 280 | // halves from reading as contiguous; the accurate size report lives in the |