Show / Hide Table of Contents

# Struct IMemorySpace

##### Inherited Members

System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)

###### Namespace: FFXIVClientStructs.FFXIV.Client.System.Memory

###### Assembly: FFXIVClientStructs.dll

##### Syntax

    public struct IMemorySpace

### Methods

| Improve this Doc View Source

#### Free(Void*, UInt64)

##### Declaration

    [MemberFunction("E8 ? ? ? ? FF 4E 68", IsStatic = true)]
    public static void Free(void *ptr, ulong size)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Void* | ptr |
System.UInt64 | size |

| Improve this Doc View Source

#### Free<T>(T*)

##### Declaration

    public static void Free<T>(T*ptr)

        where T : struct

##### Parameters

Type | Name | Description
--- | --- | ---
T* | ptr |

##### Type Parameters

Name | Description
--- | ---
T |

| Improve this Doc View Source

#### GetUISpace()

##### Declaration

    [MemberFunction("E8 ?? ?? ?? ?? 8B 75 08", IsStatic = true)]
    public static IMemorySpace*GetUISpace()

##### Returns

Type | Description
--- | ---
IMemorySpace* |

| Improve this Doc View Source

#### Malloc(UInt64, UInt64)

##### Declaration

    [VirtualFunction(3)]
    public void *Malloc(ulong size, ulong alignment)

##### Parameters

Type | Name | Description
--- | --- | ---
System.UInt64 | size |
System.UInt64 | alignment |

##### Returns

Type | Description
--- | ---
System.Void* |

| Improve this Doc View Source

#### Malloc<T>(UInt64)

##### Declaration

    public void *Malloc<T>(ulong alignment = 8UL)

        where T : struct

##### Parameters

Type | Name | Description
--- | --- | ---
System.UInt64 | alignment |

##### Returns

Type | Description
--- | ---
System.Void* |

##### Type Parameters

Name | Description
--- | ---
T |

| Improve this Doc View Source

#### Memset(Void*, Int32, UInt64)

##### Declaration

    [MemberFunction("4C 8B D9 0F B6 D2", IsStatic = true)]
    public static void Memset(void *ptr, int value, ulong size)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Void* | ptr |
System.Int32 | value |
System.UInt64 | size |