[protobuf] Re: Streaming protobuf

2023-05-09 Thread Joan Balagueró
Hi Florian, Thanks a lot for your quick response. It works like a charm. Thanks, Joan. On Tuesday, May 9, 2023 at 12:08:44 PM UTC+2 Florian Enner wrote: > You could manually iterate through the data and only check for that field, > e.g., in Java (untested): > > import

[protobuf] Re: Streaming protobuf

2023-05-09 Thread Florian Enner
You could manually iterate through the data and only check for that field, e.g., in Java (untested): import com.google.protobuf.CodedInputStream; import com.google.protobuf.WireFormat; private static boolean containsHotels(byte[] data) throws IOException { return