cdm/src/main/java/ucar/unidata/io/RandomAccessFile.java
public final void writeShort(short[] pa, int start, int n) throws IOException {
    for (int i = 0; i < n; i++) {
      writeShort(pa[start + i]);
    }
  }
public final void writeShort(short[] pa, int start, int n) throws IOException {
    for (int i = 0; i < n; i++) {
      writeShort(pa[start + i]);
    }
  }
Write an array of shorts

@param pa    write from this array
@param start starting with this element in the array
@param n     this number of elements
@throws IOException on read error