I have a file written using BufferedWriter that had a length of 87,400 bytes when it was flushed and closed. However, the file size later dropped to 79,208 bytes. As a result, the file’s checksum changed, but its last modified time remained the same.
Note: File is in shared location and the file was encrypted using AES 128 encryption algorithm
Do the contents in the buffer are not flushed properly to the file?