mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 22:11:04 +01:00
* [buffer] Add deserializers with byte offsets Buffer deserializers return a pointer into caller-owned input. GIR describes it as an owned UTF-8 string, so bindings can free an interior pointer or read beyond explicitly sized input. Add _with_offset variants with bounded byte-array inputs and optional byte counts. Preserve the existing return values and partial buffer contents, including on failure. Cross-check both variants against the existing deserializers in the buffer API tests. Testing: full Meson suite, buffer tests under Valgrind, and GIR and PyGObject checks. Fixes: #6446 Assisted-by: OpenAI Codex * [buffer] Rename new deserializers to use 2 suffix Use the established 2 suffix for the new buffer deserializers, following hb_shape_plan_create2(). Update API docs, NEWS, and tests. Testing: full Meson suite, generated GIR, and PyGObject checks. Assisted-by: OpenAI Codex