get_any_root

Function get_any_root 

Source
pub unsafe fn get_any_root(data: &[u8]) -> Table<'_>
Expand description

Gets the root table from a trusted Flatbuffer.

ยงSafety

Flatbuffers accessors do not perform validation checks before accessing. Users must trust [data] contains a valid flatbuffer. Reading unchecked buffers may cause panics or even UB.