private byte Serialize(IntPtr instance, IntPtr result) { return(_callbacks.Serialize(instance, result) ? (byte)1 : (byte)0); }
private bool Serialize(IntPtr instance, IntPtr result) { return(_callbacks.Serialize(instance, result)); }