public static Stream SerializeVmStateToStream(Vm.Vm vm) { return Serialization.Utils.SerializeWithMd5CheckSum (str => { vm.SerializeState (str); } ); }
internal static MemoryStream SerializeVmState(Vm.Vm vm) { return Utils.SerializeWithMd5CheckSum (str => { vm.SerializeState (str); } ); }
public static byte[] SerializeVmState(Vm.Vm vm) { var ms = Serialization.Utils.SerializeWithMd5CheckSum (str => { vm.SerializeState (str); } ); return ms.ToArray (); }