EncodeUnit is Procedure that converts the 3 byte input values (AIn1, AIn2, AIn3) to their encoded Cardinal representation in VOut. EncodeUnit uses the Ordinal values from CodingTable to represent each consecutive 6-bit value in the 3-byte input parameters.
EncodeUnit is called repeatedly from Encode as inoput values are read from a stream.