wire-runtime / com.squareup.wire / ProtoAdapter / encodeWithTag

encodeWithTag

open fun encodeWithTag(writer: ProtoWriter, tag: Int, @Nullable value: E?): Unit

Write tag and value to writer. If value is null this does nothing.