Integer decoder reads positive and negative integers from a stream.
Integer decoder has been refactored.