This document discusses different types of line coding used in optical fiber communication. It describes three basic types of line coding: non-return-to-zero (NRZ), return-to-zero (RZ), and phase encoding (PE). NRZ represents 1s and 0s with different voltage levels but no neutral state, while RZ includes a rest state between bits. RZ signals are self-clocking but use twice the bandwidth of NRZ. The document also discusses mBnB coding, which converts m input bits to n coded bits to add redundancy for error correction while maintaining balance and adequate transitions for timing recovery.