Thomas Parslow 6e7b57a0d8 Have output return a binary buffer
Right now output returns a string to its callback, this means you can't just write it to a file or send it to a response as the default encoding (utf8) is incorrect. You have to manually specify binary. If instead of a string you return a binary buffer then you don't have to worry about this.

I also fixed the generation of the final string to not build the string with repeated concatenation which is O(n^2) and instead build up an array of strings then join them all at once which is O(n)
2013-10-24 09:51:52 +01:00
..
2013-06-28 10:51:23 +02:00
2013-03-12 10:29:21 -05:00
2013-03-23 16:38:29 -04:00