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

Method writeTo

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

Source from the content-addressed store, hash-verified

3781 }
3782
3783 public void writeTo(com.google.protobuf.CodedOutputStream output)
3784 throws java.io.IOException {
3785 for (int i = 0; i < call_.size(); i++) {
3786 output.writeMessage(1, call_.get(i));
3787 }
3788 for (int i = 0; i < callState_.size(); i++) {
3789 output.writeMessage(2, callState_.get(i));
3790 }
3791 for (int i = 0; i < audioBitRate_.size(); i++) {
3792 output.writeMessage(3, audioBitRate_.get(i));
3793 }
3794 for (int i = 0; i < videoBitRate_.size(); i++) {
3795 output.writeMessage(4, videoBitRate_.get(i));
3796 }
3797 for (int i = 0; i < audioReceiveFrame_.size(); i++) {
3798 output.writeMessage(5, audioReceiveFrame_.get(i));
3799 }
3800 for (int i = 0; i < videoReceiveFrame_.size(); i++) {
3801 output.writeMessage(6, videoReceiveFrame_.get(i));
3802 }
3803 }
3804
3805 public int getSerializedSize() {
3806 int size = memoizedSerializedSize;

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected