Parse and consume a link after the 3-char lead [??. Only eats the chunk; does not extract strings. Caller uses returned end offset and calls handle_link(chunk, chunk_pos, seq_pos, end_offset).
|
-1 need more input, 0 no match, >0 byte offset in chunk after the consumed link |