you can use setEncoding() and just concat the strings if you want to buffer first