fn new_mock_encoding(
        values: Vec<Option<i64>>,
    ) -> (
        FixedNull<Int64Type, i64, Arc<MockTranscoder>>,
        Arc<MockTranscoder>,
    ) {
        let arr = PrimitiveArray::from(values);
        let mock = Arc::new(MockTranscoder::default());
        (FixedNull::new(arr, Arc::clone(&mock)), mock)
    }
// Helper function to create a new FixedNull encoding using a mock transcoder
// that will allow tests to track calls to encode/decode.
Helper function to create a new FixedNull encoding using a mock transcoder
that will allow tests to track calls to encode/decode.
Helper function to create a new FixedNull encoding using a mock transcoder that will allow tests to track calls to encode / decode .
fn new_mock_encoding(
        values: Vec<Option<i64>>,
    ) -> (
        FixedNull<Int64Type, i64, Arc<MockTranscoder>>,
        Arc<MockTranscoder>,
    ) {
        let arr = PrimitiveArray::from(values);
        let mock = Arc::new(MockTranscoder::default());
        (FixedNull::new(arr, Arc::clone(&mock)), mock)
    }
fn new_mock_encoding ( values : Vec < Option < i64 > > , ) -> ( FixedNull < Int64Type , i64 , Arc < MockTranscoder > > , Arc < MockTranscoder > , ) { let arr = PrimitiveArray :: from ( values ) ; let mock = Arc :: new ( MockTranscoder :: default ( ) ) ; ( FixedNull :: new ( arr , Arc :: clone ( & mock ) ) , mock ) }
Helper function to create a new FixedNull encoding using a mock transcoder
that will allow tests to track calls to encode/decode.
Helper function to create a new FixedNull encoding using a mock transcoder that will allow tests to track calls to encode / decode .
values
Vec<Option<i64>>
values
Vec<Option<i64>>