Skip to content

Remove NodeBufferReader#893

Open
NotWoods wants to merge 1 commit intoStuk:mainfrom
NotWoods:remove-buffer-reader
Open

Remove NodeBufferReader#893
NotWoods wants to merge 1 commit intoStuk:mainfrom
NotWoods:remove-buffer-reader

Conversation

@NotWoods
Copy link

Buffer.slice has been deprecated, and Buffer.subarray is preferred. That method has been available since Node 3.0.0.

Since Buffer is just a subtype of an Uint8Array, the Uint8ArrayReader can be used in place of the NodeBufferReader.

jogibear9988 added a commit to node-projects/jszip that referenced this pull request Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant