mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-26 19:02:13 +00:00
1 line
1.1 KiB
JavaScript
1 line
1.1 KiB
JavaScript
initSidebarItems({"enum":[["Error",""]],"fn":[["as_bytes","Interpret data as bytes. Not safe for data with padding."],["as_mut_bytes","Interpret data as mutable bytes. Reading is not safe for data with padding. Writing is ok."],["copy_from_bytes","Copies data from a byte slice into existing memory. Suitable when `from_bytes()` would normally be used, but the data is not aligned properly in memory."],["from_bytes","Safely converts a byte slice to a reference."],["from_mut_bytes","See `from_bytes()`."],["is_aligned","Check if a byte slice is aligned suitably for type T."],["slice_from_bytes","Similar to `from_bytes()`, except that the output is a slice of T, instead of a reference to a single T. All concerns about alignment also apply here, but size is handled differently."],["slice_from_bytes_len","Same as `slice_from_bytes()`, except that it takes explicit length of the result slice."],["slice_from_mut_bytes","See `slice_from_bytes()`."],["slice_from_mut_bytes_len","See `slice_from_bytes_len()`."]],"trait":[["Plain","A trait for plain data types that can be safely read from a byte slice."]]}); |