int DebuggerWireHelpers::WireUnserialize(String& sdata, Array& data) { Variant v; int ret = unserializeImpl(sdata, v); if (ret != NoError) { return ret; } if (!v.isArray() && !v.isNull()) { sdata = s_type_mismatch; return TypeMismatch; } data = v; return NoError; }
int DebuggerWireHelpers::WireUnserialize(String& sdata, Object& data) { TRACE(7, "DebuggerWireHelpers::WireUnserialize, Object& data\n"); Variant v; int ret = unserializeImpl(sdata, v); if (ret != NoError) { return ret; } if (!v.isObject() && !v.isNull()) { sdata = s_type_mismatch; return TypeMismatch; } data = v.toObject(); return NoError; }
int DebuggerWireHelpers::WireUnserialize(String& sdata, Variant& data) { TRACE(7, "DebuggerWireHelpers::WireUnserialize\n"); return unserializeImpl(sdata, data); }
int DebuggerWireHelpers::WireUnserialize(String& sdata, Variant& data) { return unserializeImpl(sdata, data); }