Skip to main content

serialize_xdr

Function serialize_xdr 

Source
pub fn serialize_xdr(value: &RValue) -> Vec<u8> 
Expand description

Serialize an R value to XDR binary format (version 2).

Returns the complete byte stream including the “X\n” header, version triple, and the recursively serialized object. The output is compatible with GNU R’s readRDS() / unserialize().