code: public void writeMediumDoubleArray( double[] values ) {
          int byteSize = values.length * 8 + 2;
          this.addUnsignedShort( values.length );
          doWriteDoubleArray( values, byteSize );
  
      }
docs: Write medium double array.
  
  @param values the values