pub fn read_worker_data_plane_payload(
reader: &mut impl Read,
header: WorkerDataPlaneFrameHeader,
) -> Result<Vec<u8>, WorkerDataPlaneFrameError>Expand description
Read one bounded in-memory payload after its validated header.
Raw source and artifact frames should instead use
copy_worker_data_plane_payload to avoid allocating their declared size.
ยงErrors
Rejects sizes unavailable in local address space and distinguishes a short payload from another I/O failure.