Faster and simpler stream reader. Helper constants.