MCPcopy Create free account
hub / github.com/apache/arrow-rs / encode

Method encode

arrow-json/src/writer/encoder.rs:270–272  ·  view source on GitHub ↗

Encode the value at index `idx` to `out`.

(&mut self, idx: usize, out: &mut Vec<u8>)

Source from the content-addressed store, hash-verified

268
269 /// Encode the value at index `idx` to `out`.
270 pub fn encode(&mut self, idx: usize, out: &mut Vec<u8>) {
271 self.encoder.encode(idx, out)
272 }
273
274 /// Returns whether the value at index `idx` is null.
275 pub fn is_null(&self, idx: usize) -> bool {

Callers

nothing calls this directly

Calls 11

encode_binaryFunction · 0.85
extend_from_sliceMethod · 0.80
has_nullsMethod · 0.80
as_usizeMethod · 0.80
encode_stringFunction · 0.70
pushMethod · 0.45
is_nullMethod · 0.45
nameMethod · 0.45
valueMethod · 0.45
element_rangeMethod · 0.45
get_physical_indexMethod · 0.45

Tested by

no test coverage detected