Function tidb_query_datatype::codec::datum::split_datum[][src]

pub fn split_datum(buf: &[u8], desc: bool) -> Result<(&[u8], &[u8])>

Split bytes array into two part: first one is a whole datum’s encoded data, and the second part is the remaining data.