You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 341f732
Browse filesBrowse the repository at this point in the historyBrowse files
## What does this PR do?
Improves how the JavaScript hps string writer handles buffers:
- `BinaryWriter` reserves space before using the hps string path.
- The `@apache-fory/hps` wrapper validates the destination buffer.
- The native writer respects the `Uint8Array` view offset.
Adds tests in `test/hps.test.ts`.
Note: the hps addon only builds on Node 20, and the JS CI matrix runs
Node 18 and 24, so the hps tests are skipped in CI. Verified locally
with `npm test` on Node 20 (391 tests passed).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: chaokunyang <shawn.ck.yang@gmail.com>
0 commit comments