Skip to content

Conversation

gvtret
Copy link

@gvtret gvtret commented Sep 29, 2025

Summary

  • add a private capacity helper and grow-on-demand logic that keeps CGXByteArray state consistent on allocation failure paths
  • harden indexed writes, zero-fill, and append helpers to guard against overflow, update size correctly, and respect requested string lengths
  • improve ToArray and buffer copy helpers to handle allocation failure and propagate errors from buffer sources

Copy link

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