pub fn build_response(
req_hdr: &Header,
status: Status,
bodies: Vec<RespBody>,
) -> Vec<u8> ⓘExpand description
Assemble a complete SMB frame echoing req_hdr, carrying status and the
given bodies, wiring AndX offsets between them.
An empty bodies list produces a bare error frame for the request’s own
command so header-only rejections still reach the client.