Add a getString() method which always reads the given amount of bytes