The
readable.readableHighWaterMark property in a readable stream that is used to check the value of highWaterMark used while constructing Readable streams.
Syntax:
readable.readableHighWaterMark
Return Value: It returns the value of highWaterMark used while constructing Readable streams.
Below examples illustrate the use of
readable.readableHighWaterMark property in Node.js:
Example 1:
Output:
65536
read: GeeksforGeeks
Example 2:
Output:
1234
Reference: https://nodejs.org/api/stream.html#stream_readable_readablehighwatermark.