highWaterMark and encoding options