Method BuildContext
BuildContext<T>(in T, ref LogMemoryManager)
Helper function to pack a struct
Declaration
public static PayloadHandle BuildContext<T>(in T structure, ref LogMemoryManager memAllocator) where T : unmanaged
Parameters
Type | Name | Description |
---|---|---|
T | structure | Struct to pack |
LogMemoryManager | memAllocator | Memory manager |
Returns
Type | Description |
---|---|
PayloadHandle | Handle for the created data |
Type Parameters
Name | Description |
---|---|
T | Structure type |