Peek<T>()
Reads the next value from the buffer. Does not advance the reader.
阅读时间1 分钟最后更新于 2 个月前
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public ref T Peek<T>() where T : unmanaged
Returns
Type | Description |
|---|---|
| T | A reference to the next value from the buffer. |