public int HandleMatch(IProcessorState processor, int bufferLength, ref int currentBufferPosition, int token, Stream target)
 {
     return(_onMatch?.Invoke(processor, bufferLength, ref currentBufferPosition, token, target) ?? 0);
 }