| CPC H04L 7/0079 (2013.01) [H04L 7/0016 (2013.01)] | 20 Claims |

|
1. A method of transition encoding comprising:
receiving a data packet having a packet size;
identifying one or more forbidden patterns in the data packet;
segmenting the data packet into a plurality of segments based on a location of the one or more forbidden patterns in the data packet; and
encoding the plurality of segments by removing the one or more forbidden patterns, and appending position indicator bits according to positions of the segments in the data packet,
wherein a number of bits of an encoded non-last segment from among the plurality of segments plus the appended position indicator bits for the non-last segment is equal to a number of bits of the non-last segment before the encoding, and a number of bits of an encoded last segment from among the plurality of segments plus the appended position indicator bits for the last segment is equal to a number of bits of the last segment before the encoding plus two position indicator bits from among the appended position indicator bits.
|