question: returns and consumes the content of the stream until the next occurrence of delim , or the entire remainder of the stream if delim does not appear inthe stream . if the stream is empty , it will return the empty string . concode_field_sep int mPos concode_elem_sep char[] HEX_CHARS concode_elem_sep String mBuffer concode_field_sep MessageDigest getMd5 concode_elem_sep char next concode_elem_sep String rest concode_elem_sep void inBounds concode_elem_sep String b64Encode concode_elem_sep String b64Encode concode_elem_sep boolean isEmpty concode_elem_sep Map<String,String> parseSaslMessage concode_elem_sep void checkArgument concode_elem_sep StringStream skip concode_elem_sep String hexDigest concode_elem_sep String hexDigest concode_elem_sep void notEof concode_elem_sep char peek concode_elem_sep boolean contains concode_elem_sep String b64Decode concode_elem_sep String parseSaslValue concode_elem_sep void checkSaslMessageInvariant concode_elem_sep byte[] concatenateBytes concode_elem_sep byte[] md5Of concode_elem_sep String hexOf
target: String function ( char arg0 ) { if ( isEmpty ( ) ) { return "srini_string" ; } int loc0 = mBuffer . substring ( mPos ) . indexOf ( arg0 ) ; if ( loc0 == - 1 ) { return rest ( ) ; } else { loc0 += mPos ; String loc1 = mBuffer . substring ( mPos , loc0 ) ; mPos = loc0 + 1 ; return loc1 ; } }