Skip to main content

encode_request_frame_body_with_buffer

Function encode_request_frame_body_with_buffer 

Source
pub fn encode_request_frame_body_with_buffer(
    frame: &mut BytesMut,
    spec: RequestFrameSpec<'_>,
    body: &[u8],
) -> Result<()>
Expand description

Encode a Kafka request frame with an already-encoded request body into a caller-supplied buffer.