tensorflow_io/core/kernels/avro/utils/value_buffer.cc
// Assumes that the value buffer has correct markers
Assumes that the value buffer has correct markers
Assumes that the value buffer has correct markers
size_t ShapeBuilder::GetNumberOfDimensions() const {
  size_t num = 0;
  for (size_t info : element_info_) {
    if (info != kBeginMark) {
      break;
    }
    num++;
  }
  return num;
}
size_t ShapeBuilder :: GetNumberOfDimensions ( ) const { size_t num = 0 ; for ( size_t info : element_info_ ) { if ( info != kBeginMark ) { break ; } num ++ ; } return num ; }
Assumes that the value buffer has correct markers
Assumes that the value buffer has correct markers