bytesSaved property

int get bytesSaved

Bytes saved. Negative when the file grew — which happens when the source used object streams and the output does not.

Implementation

int get bytesSaved => bytesBefore - bytesAfter;