Ah I just found that there were functions that didn't require a closure/extra level of indentation, and it goes straight to a string from a buffer. Not really necessary though, I wouldn't be worried about allocations at all at locations like this.