Inheritance diagram for ZStrimR_Boundary:
Public Member Functions
|bool||HitBoundary () const|
We use Boyer-Moore to efficiently search for the boundary sequence in the source strim. However, instead of discarding data that fails to match it is returned as the result of calls to Imp_ReadUTF32.
This method distinguishes between a strim that's gone empty because the boundary was encountered and one that's gone empty because the source strim is empty.
After the boundary has been encountered the strim appears empty. Calling ZStrimR_Boundary::Reset will allow data to be read again until the next boundary or the real end of strim.