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

Usage in Deno

import { internal } 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
Back to top