3 ms·
One dead simple way is to have a 2 or 4 byte header field that's always a known value. If it doesn't match then bail out immediately.
by jlarocco 10y ago
One dead simple way is to have a 2 or 4 byte header field that's always a known value. If it doesn't match then bail out immediately.