Skip to content

Make CodedOutputStream.computeLengthDelimitedFieldSize public#27110

Open
samrod13 wants to merge 1 commit intoprotocolbuffers:mainfrom
samrod13:feat/compute-length-delimited-field-size-public
Open

Make CodedOutputStream.computeLengthDelimitedFieldSize public#27110
samrod13 wants to merge 1 commit intoprotocolbuffers:mainfrom
samrod13:feat/compute-length-delimited-field-size-public

Conversation

@samrod13
Copy link
Copy Markdown
Contributor

This method was already used internally by all computeXxxSizeNoTag methods for length-delimited types. Exposing it lets callers who hand-construct length-delimited fields avoid repeating the computeUInt32SizeNoTag(len) + len pattern.

This method was already used internally by all computeXxxSizeNoTag
methods for length-delimited types. Exposing it lets callers who
hand-construct length-delimited fields avoid repeating the
computeUInt32SizeNoTag(len) + len pattern.
@samrod13 samrod13 requested a review from a team as a code owner April 26, 2026 20:51
@samrod13 samrod13 requested review from zhangskz and removed request for a team April 26, 2026 20:51
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.

1 participant