Internet Direct (Indy) Version 9.0.1 Beta
TIdDecoder4to3.DecodeUnit
Performs the specifics of the TIdDecoder4to3 decoding algorithm.

procedure DecodeUnit(AIn: Cardinal; var VOut1: Byte; var VOut2: Byte; var VOut3: Byte);
Parameters
AIn: Cardinal
Cardinal value of the encoded data.

var VOut1: Byte
value of Byte 1 in the un-encoded data.

var VOut2: Byte
value of Byte 2 in the un-encoded data.

var VOut3: Byte
value of Byte 3 in the un-encoded data.

Description
DecodeUnit is a procedure that implements the specific processing required to perform the TIdDecoder4to3 decoding algorithm. AIn is the Cardinal value of the encoded data. DecodeUnit create an instance of TIdCardinalBytes used to concatenate the first 6-bits of each byte into their un-encoded representation as 3 Bytes values in VOut1, VOut2, and VOut3.