Skip to main content

encode_param

Function encode_param 

Source
pub fn encode_param(buf: &mut Vec<u8>, param: &dyn Encode)
Expand description

Encode a parameter value into the wire buffer with its 4-byte length prefix.

NULL values get a length of -1 with no data.