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

Function decoded_len

arrow-row/src/variable.rs:261–265  ·  view source on GitHub ↗

Returns the number of bytes of encoded data

(row: &[u8], options: SortOptions)

Source from the content-addressed store, hash-verified

259
260/// Returns the number of bytes of encoded data
261fn decoded_len(row: &[u8], options: SortOptions) -> usize {
262 let mut len = 0;
263 decode_blocks(row, options, |block| len += block.len());
264 len
265}
266
267/// Decodes a binary array from `rows` with the provided `options`
268pub fn decode_binary<I: OffsetSizeTrait>(

Callers 2

decode_binaryFunction · 0.85
decode_binary_view_innerFunction · 0.85

Calls 2

decode_blocksFunction · 0.85
lenMethod · 0.45

Tested by

no test coverage detected