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

Method writeTo

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

Source from the content-addressed store, hash-verified

3601 }
3602
3603 public void writeTo(com.google.protobuf.CodedOutputStream output)
3604 throws java.io.IOException {
3605 if (!publicKey_.isEmpty()) {
3606 output.writeBytes(1, publicKey_);
3607 }
3608 if (timeDelta_ != 0) {
3609 output.writeUInt32(2, timeDelta_);
3610 }
3611 if (!message_.isEmpty()) {
3612 output.writeBytes(3, message_);
3613 }
3614 }
3615
3616 public int getSerializedSize() {
3617 int size = memoizedSerializedSize;

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected