Function tidb_query_datatype::codec::datum::encode_to [−][src]
pub fn encode_to(
ctx: &mut EvalContext,
buf: &mut Vec<u8>,
values: &[Datum],
comparable: bool
) -> Result<()>
encode_to
encodes a datum slice and appends the buffer to a vector.
Uses comparable to encode a memory comparable buffer or not.