//! Binary format readers/writers: NCA header, NCZ tables, PFS0/NSP, CNMT.
use ;
/// Read exactly `len` bytes. The buffer grows as data actually arrives, so a
/// bogus length from an untrusted header fails with `UnexpectedEof` instead of
/// attempting a huge up-front allocation.
pub