Struct UnsafeHashMapBucketData
A bucket of key-value pairs. Used as the internal storage for hash maps.
Namespace: Unity.Collections.LowLevel.Unsafe
Assembly: Unity.Collections.dll
Syntax
public struct UnsafeHashMapBucketDataRemarks
Exposed publicly only for advanced use cases.
Fields
bucketCapacityMask
One less than the bucket capacity.
Declaration
public readonly int bucketCapacityMaskField Value
| Type | Description | 
|---|---|
| int | One less than the bucket capacity. | 
buckets
The first bucket in the chain.
Declaration
public readonly byte* bucketsField Value
| Type | Description | 
|---|---|
| byte* | The first bucket in the chain. | 
keys
The buffer of keys.
Declaration
public readonly byte* keysField Value
| Type | Description | 
|---|---|
| byte* | The buffer of keys. | 
next
The next bucket in the chain.
Declaration
public readonly byte* nextField Value
| Type | Description | 
|---|---|
| byte* | The next bucket in the chain. | 
values
The buffer of values.
Declaration
public readonly byte* valuesField Value
| Type | Description | 
|---|---|
| byte* | The buffer of values. |