Simple class to compare coming characters one by one, on the fly, from any stream and compare it with predefined string constants. Get characters from stream, one by one, perform non-blocking comparison with predefined string constants, on the fly. Return true if match found. May perform case sensitive or case in-sensitive comparison. Allow multiple instances and re-assigning string constants.
sergeskor / ssvwaitforstringinstream Goto Github PK
View Code? Open in Web Editor NEWSimple class to compare coming characters one by one, on the fly, from any stream and compare it with predefined string constants. Get characters from stream, one by one, perform non-blocking comparison with predefined string constants, on the fly. Return true if match found. May perform case sensitive or case in-sensitive comparison. Allow multiple instances and re-assigning string constants.