code: private void writeShortArrayTagPayload(ShortArrayTag tag) throws IOException {
          short[] shorts = tag.getValue();
          os.writeInt(shorts.length);
          for (int i = 0; i < shorts.length; i++) {
              os.writeShort(shorts[i]);
          }
      }
docs: Writes a {@code TAG_Short_Array} tag.
  
  @param tag The tag.
  @throws java.io.IOException if an I/O error occurs.