Function tidb_query_datatype::codec::convert::truncate_binary [−][src]
pub fn truncate_binary(s: &mut Vec<u8>, flen: isize)
truncate_binary
truncates a buffer to the specified length.
pub fn truncate_binary(s: &mut Vec<u8>, flen: isize)
truncate_binary
truncates a buffer to the specified length.