Skip to main content

unserialize

Function unserialize 

Source
unsafe fn unserialize<T: TypedExternal>(state: SEXP) -> SEXP
Expand description

Unserialize: decodes state into a holder and returns a carrier holding it. Never raises (only an R error from the type’s own Deserialize code carries on).

§Safety

On R’s main thread, during unserialize(), after T’s class was registered (R loads the package first); state is rooted.