Skip to content

fs: use byteLength to handle ArrayBuffer views

Unlike TypedArray, DataView doesn't have a length property.

Found this bug while writing typings for the fs binding :)

Merge request reports

Loading