Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5361,6 +5361,10 @@ added: v8.2.0
<!-- YAML
added: v8.2.0
changes:
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/52465
description: Value is changed to 2<sup>53</sup> - 1 on 64-bit
architectures.
- version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35415
description: Value is changed to 2<sup>32</sup> on 64-bit
Expand All @@ -5376,7 +5380,7 @@ changes:
On 32-bit architectures, this value currently is 2<sup>30</sup> - 1 (about 1
GiB).

On 64-bit architectures, this value currently is 2<sup>32</sup> (about 4 GiB).
On 64-bit architectures, this value currently is 2<sup>53</sup> - 1 (about 8 PiB).

It reflects [`v8::TypedArray::kMaxLength`][] under the hood.

Expand Down