On the other side, you'll have A, then there's a FLAG, we'd better escape that, ESC FLAG B. Similarly, if we have an escape inside the data, A ESC, ESC B. You could have escape flag, but if that's actually the data, we want to stuff it, you will have to escape the escape, then you will see a flag character as a 