pub fn encode_param(buf: &mut Vec<u8>, param: &dyn Encode)
Encode a parameter value into the wire buffer with its 4-byte length prefix.
NULL values get a length of -1 with no data.