MCPcopy Create free account
hub / github.com/InsightIM/Tok-Android / writeTo

Method writeTo

app/src/main/java/im/tox/proto/Group.java:487–501  ·  view source on GitHub ↗
(com.google.protobuf.CodedOutputStream output)

Source from the content-addressed store, hash-verified

485 }
486
487 public void writeTo(com.google.protobuf.CodedOutputStream output)
488 throws java.io.IOException {
489 if (groupId_ != 0) {
490 output.writeUInt32(1, groupId_);
491 }
492 if (!inviteToPk_.isEmpty()) {
493 output.writeBytes(2, inviteToPk_);
494 }
495 if (!inviteFrPk_.isEmpty()) {
496 output.writeBytes(3, inviteFrPk_);
497 }
498 if (!groupName_.isEmpty()) {
499 output.writeBytes(4, groupName_);
500 }
501 }
502
503 public int getSerializedSize() {
504 int size = memoizedSerializedSize;

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected