Closed 05nelsonm closed 3 months ago
Yup, kotlin-wrapper
implementation is wrong and uses Int
which has a max value of 2147483647
, whereas Node.js
Buffer
maximum is 9007199254740991
(depending on node version and platform) which exceeds Int
.
https://github.com/JetBrains/kotlin-wrappers/blob/master/kotlin-node/src/jsMain/generated/node/buffer/Buffer.class.kt