The body ended before the header (magic, version, flags, idLen) was complete.
idLen
How many bytes the body held.