std.fileformats?

rikki cattermole rikki at cattermole.co.nz
Tue Jan 7 12:55:05 UTC 2020


On 08/01/2020 1:44 AM, berni44 wrote:
>> BTW, base64 isn't really a file format. It's an encoding.
> 
> Really? So why isn't it in std.encoding? :-) I know, that base64 is 
> somewhat different, maybe it's in the gray area... Or look at it the 
> other way round: Isn't zipping also just encoding and unzipping decoding?

Perhaps, just perhaps std.encoding should be a package too ;)



A zip file is a container, an encoding is not a container, it is a 
representation (just with different assumptions i.e. the base).


More information about the Digitalmars-d mailing list