in serialization/src/main/java/com/twitter/serial/serializer/BuilderSerializer.java [69:79]
private void deserialize(@NotNull SerializationContext context, @NotNull SerializerInput input, @NotNull B builder,
int versionNumber)
throws IOException, ClassNotFoundException {
try {
//noinspection BlacklistedMethod
deserializeToBuilder(context, input, builder, versionNumber);
} catch (OptionalDataException | EOFException | OptionalFieldException ignore) {
// This may happen when reading optional fields. The builder should already
// contain all the available fields, so just ignore the exception.
}
}