|
The base encoding and decoding are now used in read and write operations of the CONV command of FLCL and is available also in byte and record interface.
A automated base decoding for supported encryption and compression streams was implemented. Means if data a valid base encoding, decoding is done, if the result a PGP, GZIP, XZ, BZIP2 or a other supported data stream.
The decoding is also done, if the result is XML, because a base encoding cannot be XML and XML cannot be a valid base encoding.
If we read binary data and decoding is requsted the decompressed data is given back. If an addtional decoding required an additional decoding must explicit requested. If you want to read the comressed data, but for the a base decoding is required, then you can define the levels of decoding. At target binary each decoding, decompression and decryption operation are a level and you can free define on which decoding level the auto decoding of the data is stoped.
For the targets TEXT and CHAR a addtional decoding is done if the result of this operation is not binary data. If you wan't to read the base encoding the autodecoding after decompression can be deactivated. For TEXT and CHAR each base decoding (for decryption, for decompression and for the real target (TEXT/CHAR)) is a decoding level because encrypted or compressed data cannot be of type TEXT or CHAR. |
|