Bit-oriented protocol
Appearance
Bit-oriented protocol is a communications protocol that sees the transmitted data as an opaque stream of bits with no semantics, or meaning. Control codes are defined in terms of bit sequences instead of characters. Bit oriented protocol can transfer data frames regardless of frame contents.It can also be stated as "bit stuffing" this technique allows the data frames to contain an arbitrary number of bits and allows character codes with arbitrary number of bits per character. May work like this : each frame begins and ends with a special bit pattern 01111110, called a flag byte. whenever the sender's data link layer encounters 5 consequtive ones ina data , it automatically stuffs 0 into the outgoing stream.