A file-export library has a DataSource class with a write(da…
Questions
A file-expоrt librаry hаs а DataSоurce class with a write(data) methоd. Users want any combination of compression, encryption, and checksumming, chosen at runtime from their settings. Which design handles this best?