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

Method writeTo

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

Source from the content-addressed store, hash-verified

1672 }
1673
1674 public void writeTo(com.google.protobuf.CodedOutputStream output)
1675 throws java.io.IOException {
1676 if (groupId_ != 0) {
1677 output.writeUInt32(1, groupId_);
1678 }
1679 if (!msg_.isEmpty()) {
1680 output.writeBytes(2, msg_);
1681 }
1682 if (!frPk_.isEmpty()) {
1683 output.writeBytes(3, frPk_);
1684 }
1685 if (createTime_ != 0L) {
1686 output.writeUInt64(4, createTime_);
1687 }
1688 }
1689
1690 public int getSerializedSize() {
1691 int size = memoizedSerializedSize;

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected