Skip to main content
default.getDefaultHighWaterMark - stream - Node documentation
function default.getDefaultHighWaterMark

Usage in Deno

import mod from "node:stream";
getDefaultHighWaterMark(objectMode: boolean): number

Returns the default highWaterMark used by streams. Defaults to 65536 (64 KiB), or 16 for objectMode.

Parameters

objectMode: boolean

Return Type

number