PROBE_HEADER_BYTES

Constant PROBE_HEADER_BYTES 

Source
const PROBE_HEADER_BYTES: usize = 512;
Expand description

Maximum number of bytes to read when probing a payload header.

512 bytes is enough to cover the common signatures we use here, including TAR’s magic offset, without reading the entire file into memory.