3 ms·
Simply count bytes as they are read. In the exception handler check to see if the count matches the expected value. Clean.
by waynecochran 7y ago
Simply count bytes as they are read. In the exception handler check to see if the count matches the expected value. Clean.