Encoder and Decoder for 8b10b code. The encoded data has to be packed into 8-bit uint8_t. Thus a mapping (bit-mapping) has to be implemented. Also vice versa. Function to provide source size out of the encoded and mapped data size. Written in C, platform independantly. Attached a PDF visualise the functioning.