ドキュメント

Unity Engine

Unity Engine

UnsafeAppendBuffer.Reader

A reader for UnsafeAppendBuffer.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public struct UnsafeAppendBuffer.Reader

Fields

Value

Description

OffsetThe location of the next read (expressed as a byte offset from the start).
PtrThe internal buffer where the content is stored.
SizeThe length in bytes of the append buffer's content.

Constructors

Constructor

Description

Reader(System.Void*,System.Int32)Initializes and returns an instance of UnsafeAppendBuffer.Reader that reads from a buffer.
Reader(Unity.Collections.LowLevel.Unsafe.UnsafeAppendBuffer@)Initializes and returns an instance of UnsafeAppendBuffer.Reader.

Properties

Property

Description

EndOfBufferWhether the offset has advanced past the last of the append buffer's content.

Methods

Method

Description

ReadNextReads an element from the append buffer.
ReadNextArrayReads an array from the append buffer.