VOOZH about

URL: https://www.geeksforgeeks.org/node-js/node-js-stream-readable-readablehighwatermark-property/

⇱ Node.js Stream readable.readableHighWaterMark Property - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Node.js Stream readable.readableHighWaterMark Property

Last Updated : 12 Oct, 2021
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.
Comment

Explore