Chapter 3 problem number 2

The problem says:

The following data fragmant occurs in the middle of a data stream for which the character stuffing algorithm described in the test is used: DLE, STX, A, DLE, B, DLE, ETX. What is the output after stuffing?

Assume that the data (with out character framing) is: A, DLE, B. The data with character framing is DLE, STX, A, DLE, B, DLE, ETX.

Your answer should show the character framing.