Struct PayloadHandle
Holds a 64-bit value that uniquely references an allocated memory block within Log
Implements
Inherited Members
Namespace: Unity.Logging
Assembly: solution.dll
Syntax
[BurstCompile]
public readonly struct PayloadHandle : IEquatable<PayloadHandle>
Remarks
This is the primary field in Log
Offset - Byte offset (index) within the RingBuffer of the allocated Payload chunk (includes header) Version - Handle validation value; must match Version within chunk header or handle is rejected BufferID - Identifies specific RingBuffer by an ID value (MemoryManager can maintain multiple RingBuffers) BitFields - Other flags an/or misc. data
The handle holds a unique, single-use value that references a specific memory buffer under the control
of Log
Properties
Name | Description |
---|---|
Is |
Checks if the PayloadHandle references a Disjointed Buffer. |
Is |
Checks if the PayloadHandle value is valid. |
Methods
Name | Description |
---|---|
Equals(Payload |
Equals method that compares this PayloadHandle with another one |
Get |
Hash function |