Skip to content

doc: document watermark string behavior

Rodrigo Muino Tomonari requested to merge stream-string-length into main

Bikeshedding/doc suggestions (should we edit it in other places like (readableLength/writableLength?) welcome

ping @lpinca @nodejs/streams


Documents that we calculate the highWaterMark value of streams operating on strings using the number of UTF-16 code units.

Fixes: https://github.com/nodejs/node/issues/52818

Merge request reports

Loading