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

Method writeTo

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

Source from the content-addressed store, hash-verified

1513 }
1514
1515 public void writeTo(com.google.protobuf.CodedOutputStream output)
1516 throws java.io.IOException {
1517 if (friendNumber_ != 0) {
1518 output.writeUInt32(1, friendNumber_);
1519 }
1520 if (!name_.isEmpty()) {
1521 output.writeBytes(2, name_);
1522 }
1523 }
1524
1525 public int getSerializedSize() {
1526 int size = memoizedSerializedSize;

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected