Add a readUntil method.