Skip to content

**BREAKING CHANGE** .Get(string) accessor method now returns Value type#16

Merged
senojj merged 2 commits intomainfrom
charset
Feb 21, 2026
Merged

**BREAKING CHANGE** .Get(string) accessor method now returns Value type#16
senojj merged 2 commits intomainfrom
charset

Conversation

@senojj
Copy link
Copy Markdown
Owner

@senojj senojj commented Feb 21, 2026

Also removes .GetBytes(string) accessor method.

Additionally, adds DecodeString method for changing a value's encoding to UTF-8.
DecodeString accepts a ValueDecoder function for custom logic.
The intent is for the caller to read the encoding from the message header, and pass a function that properly decodes the value and encodes to UTF-8.

also adds `.DecodeString(ValueDecoder)` method to leaf types.
@senojj senojj added the enhancement New feature or request label Feb 21, 2026
@senojj senojj merged commit b641763 into main Feb 21, 2026
1 check passed
@senojj senojj deleted the charset branch February 21, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant