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
However, this method is deprecated, with the annotation "👎Deprecated since 0.3.0: This function is unsafe - if this functionality is needed use Reader::buffer::align_to"
Hi all,
I'm trying to understand how to get array data out of a Flexbuffer in Rust without copies. There is a deprecated
get_slice
method: https://docs.rs/flexbuffers/2.0.0/flexbuffers/struct.Reader.html#method.get_sliceHowever, this method is deprecated, with the annotation "👎Deprecated since 0.3.0: This function is unsafe - if this functionality is needed use Reader::buffer::align_to"
What is this referring to? Searching
align_to
in the docs doesn't turn up anything: https://docs.rs/flexbuffers/2.0.0/flexbuffers/struct.Reader.html?search=align_toThe text was updated successfully, but these errors were encountered: