Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Added MetaString Class for Unicode Encoding/Decoding in Type.Object Code Generation #1774

Merged
merged 49 commits into from
Jul 29, 2024

Conversation

Forchapeatl
Copy link
Contributor

What does this PR do?

The MetaString class is introduced to handle Unicode encoding and decoding for strings used in the code generation process for Type.Object. This ensures that strings are properly encoded and decoded during storage and transmission.

  • Encoding: Converts Unicode strings into an encoded format.
  • Decoding: Converts encoded strings back to their original Unicode format.

The MetaString class is used in object.ts to handle string encoding and decoding when generating code for Type.Object.

Related issues

Is there any related issue? Please attach here.

Does this PR introduce any user-facing change?

  • Does this PR introduce any public API change?
  • Does this PR introduce any binary protocol compatibility change?

@theweipeng Please have a look at my PR

Benchmark

@Forchapeatl Forchapeatl requested a review from theweipeng as a code owner July 27, 2024 14:37
@Forchapeatl Forchapeatl changed the title Added MetaString Class for Unicode Encoding/Decoding in Type.Object Code Generation feat: Added MetaString Class for Unicode Encoding/Decoding in Type.Object Code Generation Jul 27, 2024
@theweipeng theweipeng merged commit ba4ac8e into apache:main Jul 29, 2024
32 of 33 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.

2 participants