public static void writeLong(
    @NotNull IonWriter writer,
    @NotNull String fieldName,
    long value
  ) throws IOException {
    writer.setFieldName(fieldName);
    writer.writeInt(value);
  }
public static void writeLong(
    @NotNull IonWriter writer,
    @NotNull String fieldName,
    long value
  )