You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
While working with StringViewArray's downstream in DataFusion, I found it was not always clear that ByteView exists for creating/destructuring the u128s so I wanted to write some additional documentation.
While doing so, I also found it quite awkward to write the examples (specifically setting the prefix)
let view = ByteView{length:12,// convert 4 byte &str to u32prefix: u32::from_le_bytes(prefix.as_bytes().try_into().unwrap()),buffer_index:3,offset:42,};
Describe the solution you'd like
I would like better documentation and a builder style API
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
While working with
StringViewArray
's downstream in DataFusion, I found it was not always clear thatByteView
exists for creating/destructuring theu128
s so I wanted to write some additional documentation.While doing so, I also found it quite awkward to write the examples (specifically setting the prefix)
Describe the solution you'd like
I would like better documentation and a builder style API
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: