Method GetStoredContentBytesAsync
- Namespace
- MailFathom.Application.Synchronization
- Assembly
- MailFathom.Application.dll
GetStoredContentBytesAsync(CancellationToken)
Gets how many bytes of local storage the stored raw MIME currently occupies.
Task<long> GetStoredContentBytesAsync(CancellationToken cancellationToken)
Parameters
cancellationTokenCancellationTokenCancels the read.
Returns
Remarks
It is the quantity a storage ceiling is about — what the mail content costs the operator's disk — rather than the sum of the payload lengths, which understates it by whatever the storage layer spends on overhead. An implementation therefore reports physical occupancy where it can, and the two differ enough that a caller must not treat this as an arithmetic total it can reconcile against its own byte counters.