Go to the documentation of this file.
77 while (
byte(offset) != 0) {
80 if (offset ==
length() - 1) {
83 "No terminating zero found!");
85 result.append(1,
byte(offset));
111 i < static_cast<int>(
length()) -
112 static_cast<int>(str.length()); i++) {
114 Word charsToMatch = str.length() + 1;
116 while (charsToMatch) {
119 if (
byte(i + charsToMatch) != str.c_str()[charsToMatch]) {
126 if (charsToMatch == 0) {
134 for (Word i = 0; i < str.size(); i++) {
139 return chunk(returnOffset);
static StringSection proto_
Prototype of the section.
std::string chunk2String(const Chunk *chunk) const
virtual void addByte(Byte aByte)
#define assert(condition)
Chunk * string2Chunk(const std::string &str)
virtual Section * clone() const
static void registerSection(const Section *section)
Word SectionOffset
Type for storing offsets relative to a given base offset value.
SectionOffset offset() const
find Finds info of the inner loops in the false
virtual Word length() const
virtual Chunk * chunk(SectionOffset offset) const
virtual SectionType type() const