[reader] write a specific read-integer for reader