Why does writeToStream transform everything to a string? I would consider this a bug and it should be aligned with the typical node idiom that relies on an encoding to indicate string writing and on the actual type of the thing being written.
It is impossible to use it to write Buffers into a file.
Why does writeToStream transform everything to a string? I would consider this a bug and it should be aligned with the typical node idiom that relies on an encoding to indicate string writing and on the actual type of the thing being written.
It is impossible to use it to write Buffers into a file.