code: public void writeSmallShortArray( short[] values ) {
          int byteSize = values.length * 2 + 1;
          this.addUnsignedByte( ( short ) values.length );
          doWriteShortArray( values, byteSize );
      }
docs: Write small short array.
  
  @param values the values