get_byte may not return -1 on error, since it can lead to a negative backptr.