This data fragment occurs in the middle of a data stream for

This data fragment occurs in the middle of a data stream for which the byte-stuffing algorithm

described in the text is used:   A ESC B C ESC FLAG ESC FLAG D.

What is output after stuffing?

Solution

Byte Stuffing methd : The start and end of frame are recognized with the help of flag bytes. Each frames starts with and ends with a flag byte. Two consecutive flag bytes indicate the end of one frame and start of the next one. The flag byte we used is “ESC” flag byte.

Original segment

A ESC B C ESC FLAG ESC FLAG D

AfterStuffing

A ESC ESC ESC B ESC C ESC ESC ESC FLAG ESC ESC ESC FLAG ESC D ESC.

This data fragment occurs in the middle of a data stream for which the byte-stuffing algorithm described in the text is used: A ESC B C ESC FLAG ESC FLAG D. Wha

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site