@Override
  public Object[] decode(PositionedByteRange src) {
    int i = 0;
    Object[] ret = new Object[fields.length];
    Iterator<Object> it = iterator(src);
    while (it.hasNext()) {
      ret[i++] = it.next();
    }
    return ret;
  }
Retrieve an {@link Iterator} over the values encoded in {@code src}. {@code src}'s position is
consumed by consuming this iterator.
hbase-common/src/main/java/org/apache/hadoop/hbase/types/Struct.java