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

Method writeTo

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

Source from the content-addressed store, hash-verified

107 }
108
109 public void writeTo(com.google.protobuf.CodedOutputStream output)
110 throws java.io.IOException {
111 if (friendNumber_ != 0) {
112 output.writeInt32(1, friendNumber_);
113 }
114 if (audioEnabled_ != false) {
115 output.writeBool(2, audioEnabled_);
116 }
117 if (videoEnabled_ != false) {
118 output.writeBool(3, videoEnabled_);
119 }
120 }
121
122 public int getSerializedSize() {
123 int size = memoizedSerializedSize;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected