Show / Hide Table of Contents

Class MemorySnapshotFileReader

Inheritance
Object
MemorySnapshotFileReader
Implements
ISerializationCallbackReceiver
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEditorInternal.Profiling.Memory.Experimental
Assembly: UnityEditor.dll
Syntax
[Serializable]
public class MemorySnapshotFileReader : ISerializationCallbackReceiver

Constructors

| Improve this Doc View Source

MemorySnapshotFileReader()

Declaration
public MemorySnapshotFileReader()
| Improve this Doc View Source

MemorySnapshotFileReader(String)

Declaration
public MemorySnapshotFileReader(string filePath)
Parameters
Type Name Description
String filePath

Methods

| Improve this Doc View Source

Close()

Declaration
public void Close()
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

GetDataArray<T>(EntryType, UInt32, UInt32, ref T[], GetItem<T>)

Declaration
public void GetDataArray<T>(EntryType entryType, uint entryIndex, uint numEntries, ref T[] dataOut, GetItem<T> getItemFunc)
Parameters
Type Name Description
EntryType entryType
UInt32 entryIndex
UInt32 numEntries
T[] dataOut
GetItem<T> getItemFunc
Type Parameters
Name Description
T
| Improve this Doc View Source

GetDataSingle<T>(EntryType, GetItem<T>)

Declaration
public T GetDataSingle<T>(EntryType entryType, GetItem<T> getItemFunc)
Parameters
Type Name Description
EntryType entryType
GetItem<T> getItemFunc
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

GetFilePath()

Declaration
public string GetFilePath()
Returns
Type Description
String
| Improve this Doc View Source

GetNumEntries(EntryType)

Declaration
public uint GetNumEntries(EntryType entryType)
Parameters
Type Name Description
EntryType entryType
Returns
Type Description
UInt32
| Improve this Doc View Source

OnAfterDeserialize()

Declaration
public void OnAfterDeserialize()
| Improve this Doc View Source

OnBeforeSerialize()

Declaration
public void OnBeforeSerialize()
| Improve this Doc View Source

Open(String)

Declaration
public void Open(string filePath)
Parameters
Type Name Description
String filePath

Implements

ISerializationCallbackReceiver

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX