I would expect `ti_Resize` to add/remove bytes at the current offset, or maybe at the end, but it instead appears to do so at the start of the file.
I would expect
ti_Resizeto add/remove bytes at the current offset, or maybe at the end, but it instead appears to do so at the start of the file.