ReusableBufferedOutputStream.java
1.94 KB
-
Fix leftover bytes in cached content index file · 5c89bbed
Extra calls to CipherOutputStream.close() causes each time extra 16 bytes written to the underlying OutputStream. Prevented close() is called more than once and also discarded any data in ReusableBufferedOutputStream buffer on reset(). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144063120
eguven committed