Skip to content

Commit

Permalink
Fix typo in computeInt32SizeNoTag doc
Browse files Browse the repository at this point in the history
I think "No tag" (and the lack of a tag argument) means this is excluding tag.

PiperOrigin-RevId: 702099366
  • Loading branch information
mhansen authored and copybara-github committed Dec 2, 2024
1 parent e01ab3c commit c879ccc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ public static int computeTagSize(final int fieldNumber) {
}

/**
* Compute the number of bytes that would be needed to encode an {@code int32} field, including
* Compute the number of bytes that would be needed to encode an {@code int32} field, excluding
* tag.
*/
public static int computeInt32SizeNoTag(final int value) {
Expand Down

0 comments on commit c879ccc

Please sign in to comment.