pub fn converted_buffer<W: NativeDecimalType>(
array: &DecimalArray,
validity: &Mask,
) -> VortexResult<Buffer<W>>Expand description
Return the array’s unscaled values converted to exactly W, whatever the array’s
storage type. Zero-copy when the array is already stored at W.
Widening is lossless. Narrowing fails for any valid value that does not fit W.
Null slots may hold arbitrary bytes and never fail; their contents in the returned
buffer are likewise arbitrary and must not be read.