int avro_skip(avro_reader_t reader, int64_t len) { if (len >= 0) { return avro_skip_memory(reader, len); } return 0; }
int avro_skip(avro_reader_t reader, int64_t len) { if (len >= 0) { if (is_memory_io(reader)) { return avro_skip_memory(avro_reader_to_memory(reader), len); } else if (is_file_io(reader)) { return avro_skip_file(avro_reader_to_file(reader), len); } } return 0; }