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

Method writeTo

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

Source from the content-addressed store, hash-verified

685 }
686
687 public void writeTo(com.google.protobuf.CodedOutputStream output)
688 throws java.io.IOException {
689 getSerializedSize();
690 if (friendNumber_ != 0) {
691 output.writeUInt32(1, friendNumber_);
692 }
693 for (int i = 0; i < callState_.size(); i++) {
694 output.writeEnum(2, callState_.getInt(i));
695 }
696 }
697
698 public int getSerializedSize() {
699 int size = memoizedSerializedSize;

Callers

nothing calls this directly

Calls 3

getSerializedSizeMethod · 0.95
sizeMethod · 0.80
getIntMethod · 0.80

Tested by

no test coverage detected