public new static void Marshal(ClassNativeInfo value, Stream stream) { NativeUnitMarshaler <ClassNativeInfo> .Marshal(value, stream); UInt32Marshaler.Marshal(value.TypeToken, stream); UInt64Marshaler.Marshal(value.ModuleId, stream); }
public new static ThreadNativeInfo Demarshal(Stream stream) { ThreadNativeInfo unit = NativeUnitMarshaler <ThreadNativeInfo> .Demarshal(stream); unit.OsThreadId = UInt32Marshaler.Demarshal(stream); return(unit); }
public new static ClassNativeInfo Demarshal(Stream stream) { ClassNativeInfo unit = NativeUnitMarshaler <ClassNativeInfo> .Demarshal(stream); unit.TypeToken = UInt32Marshaler.Demarshal(stream); unit.ModuleId = UInt64Marshaler.Demarshal(stream); return(unit); }
public new static void Marshal(FunctionNativeInfo value, Stream stream) { NativeUnitMarshaler <FunctionNativeInfo> .Marshal(value, stream); UInt32Marshaler.Marshal(value.TypeToken, stream); UInt64Marshaler.Marshal(value.ClassId, stream); UInt64Marshaler.Marshal(value.ModuleId, stream); UInt64Marshaler.Marshal(value.AssemblyId, stream); }
public new static FunctionNativeInfo Demarshal(Stream stream) { FunctionNativeInfo unit = NativeUnitMarshaler <FunctionNativeInfo> .Demarshal(stream); unit.TypeToken = UInt32Marshaler.Demarshal(stream); unit.ClassId = UInt64Marshaler.Demarshal(stream); unit.ModuleId = UInt64Marshaler.Demarshal(stream); unit.AssemblyId = UInt64Marshaler.Demarshal(stream); return(unit); }
public static T Demarshal(Stream stream) { T value = new T(); value.Uid = UInt32Marshaler.Demarshal(stream); value.Id = UInt64Marshaler.Demarshal(stream); value.BeginLifetime = UInt32Marshaler.Demarshal(stream); value.EndLifetime = UInt32Marshaler.Demarshal(stream); value.Name = StringMarshaler.Demarshal(stream); return(value); }
public new static void Marshal(ThreadNativeInfo value, Stream stream) { NativeUnitMarshaler <ThreadNativeInfo> .Marshal(value, stream); UInt32Marshaler.Marshal(value.OsThreadId, stream); }