MCPcopy Create free account
hub / github.com/apache/datafusion / push_char_to_vec

Function push_char_to_vec

datafusion/functions/src/strings.rs:961–964  ·  view source on GitHub ↗
(v: &mut Vec<u8>, c: char)

Source from the content-addressed store, hash-verified

959
960#[inline]
961fn push_char_to_vec(v: &mut Vec<u8>, c: char) {
962 let mut buf = [0u8; 4];
963 v.extend_from_slice(c.encode_utf8(&mut buf).as_bytes());
964}
965
966/// Trait abstracting over the bulk-NULL string array builders.
967///

Callers 1

write_charMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…