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

Method writeTo

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

Source from the content-addressed store, hash-verified

1826 }
1827
1828 public void writeTo(com.google.protobuf.CodedOutputStream output)
1829 throws java.io.IOException {
1830 if (friendNumber_ != 0) {
1831 output.writeUInt32(1, friendNumber_);
1832 }
1833 if (!pcm_.isEmpty()) {
1834 output.writeBytes(2, pcm_);
1835 }
1836 if (channels_ != 0) {
1837 output.writeUInt32(3, channels_);
1838 }
1839 if (samplingRate_ != 0) {
1840 output.writeUInt32(4, samplingRate_);
1841 }
1842 }
1843
1844 public int getSerializedSize() {
1845 int size = memoizedSerializedSize;

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected