internal.getDefaultHighWaterMark - Node documentation
function internal.getDefaultHighWaterMark

Usage in Deno

import { internal } from "node:stream";
const { getDefaultHighWaterMark } = internal;
getDefaultHighWaterMark(objectMode: boolean): number

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

Parameters

objectMode: boolean

Return Type

number