Skip to content

feat: UTF8 to string (fromUTF8) #922

Description

@Jeffrey-morgan34

Adds fromUTF8/fromUTF8Tail to ProtoParserTools, decoding raw UTF-8 bytes directly into a caller-supplied char[] (handling 1–4 byte sequences and surrogate pairs), returning -1 on malformed input instead of throwing.

Benefit: groundwork for PbjReader.readString to avoid allocating an intermediate String/CharBuffer per read.

PR: #906

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    PerformanceIssues related to performance concerns.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions