void ion\Writer::writeInt(string|int $value)

Params: