CritasWang commented on PR #16:
URL: 
https://github.com/apache/iotdb-client-nodejs/pull/16#issuecomment-4977705512

   Addressed the ArrayBuffer P2 in 5f4c1e0: `blobByteLength()` now handles 
`ArrayBuffer`/`SharedArrayBuffer` via `.byteLength` (they have no `.length`, 
which previously made `dataSize` NaN → `RangeError`), and the write pass 
bulk-copies through a zero-copy `new Uint8Array(v)` view via `buffer.set()`. 
Added a golden fast-vs-legacy test covering `ArrayBuffer`, `SharedArrayBuffer`, 
empty `ArrayBuffer`, and null. Reproduced the failure first (RangeError, 
exactly as you described), then verified the fix end-to-end. 154/154 unit tests 
pass; lint at baseline (61, none new).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to