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

Method writeTo

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

Source from the content-addressed store, hash-verified

2168 }
2169
2170 public void writeTo(com.google.protobuf.CodedOutputStream output)
2171 throws java.io.IOException {
2172 if (fileType_ != 0) {
2173 output.writeInt32(1, fileType_);
2174 }
2175 if (!toPk_.isEmpty()) {
2176 output.writeBytes(2, toPk_);
2177 }
2178 if (toGroup_ != 0) {
2179 output.writeUInt32(3, toGroup_);
2180 }
2181 if (!realName_.isEmpty()) {
2182 output.writeBytes(4, realName_);
2183 }
2184 if (createTime_ != 0L) {
2185 output.writeUInt64(5, createTime_);
2186 }
2187 }
2188
2189 public int getSerializedSize() {
2190 int size = memoizedSerializedSize;

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected