Skip to main content

read_element

Function read_element 

Source
pub fn read_element(
    view: &V2TypedArrayView,
    index: u32,
) -> Option<(u64, NativeKind)>
Expand description

Read element index from a v2 typed array, returning (bits, NativeKind).

The NativeKind is the element kind (Float64 / Int64 / Int32 / Bool / sized-integer kinds) — callers consume it directly without further inspection.