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
Adds
fromUTF8/fromUTF8TailtoProtoParserTools, decoding raw UTF-8 bytes directly into a caller-suppliedchar[](handling 1–4 byte sequences and surrogate pairs), returning-1on malformed input instead of throwing.Benefit: groundwork for
PbjReader.readStringto avoid allocating an intermediateString/CharBufferper read.PR: #906