Prepares to scan a text buffer.
the text buffer to scan.
the length of the text buffer.
See Implementation
Prepares to scan a text buffer.