Closed jrideout closed 5 years ago
I came up with a cleaner way to do the same thing. Just assume the last 2 bytes of the object are the checksum. When that assumption is wrong, the checksum won't match anyway, so we still get the expected behavior. Also we are protected against unserializable data throwing exceptions due to the MIN_OBJ_SIZE check that occurs before initializing TNEFObject.
Sounds good, thanks for spelling it out.
Codecov Report
89.74% <100%> (+0.85%)
Continue to review full report at Codecov.