use of com.squareup.wire.ReverseProtoWriter in project wire by square.
the class EncodeBenchmark method wire4x.
@Benchmark
public void wire4x() throws IOException {
ReverseProtoWriter writer = new ReverseProtoWriter();
EmailSearchResponse.ADAPTER.encode(writer, SampleData.newMediumValueWire());
writer.writeTo(buffer);
buffer.clear();
}
Aggregations