TRUNCATE_EXISTING top-level constant

  1. @Deprecated('Use FILE_CREATION_DISPOSITION.TRUNCATE_EXISTING instead')
int const TRUNCATE_EXISTING

Opens a file and truncates it so that its size is zero bytes, only if it exists.

Implementation

@Deprecated('Use FILE_CREATION_DISPOSITION.TRUNCATE_EXISTING instead')
const TRUNCATE_EXISTING = 5;