Skip to content

fix: decode data_base64 as Uint8Array instead of Uint32Array - #662

Merged
duglin merged 1 commit into
cloudevents:mainfrom
shiva:fix/data-base64-uint8array
Oct 26, 2026
Merged

duglin merged 1 commit into
cloudevents:mainfrom
shiva:fix/data-base64-uint8array

Conversation

@shiva

@shiva shiva commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

The CloudEvent constructor, MQTT and Kafka structured mode already decode through base64AsBinary() into a Uint8Array; the HTTP structured path now does the same. The Kafka structured round-trip test is re-enabled.

Also added myself to the contributors list.

Fixes #643
Supersedes #644

The CloudEvent
constructor, MQTT and Kafka structured mode already decode through
base64AsBinary() into a Uint8Array; the HTTP structured path now does
the same. The Kafka structured round-trip test is re-enabled.

Also added myself to the contributors list.

Fixes cloudevents#643
Supersedes cloudevents#644

Co-authored-by: Sascha Bratton <sascha@queen.one>
Signed-off-by: Shiva <shiv@shiv.me>
@duglin
duglin merged commit a358af2 into cloudevents:main Oct 26, 2026
9 checks passed
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.

parseStructured decodes data_base64 into Uint32Array instead of Uint8Array

2 participants