Version: Unity 6.7 Beta (6000.7)
LanguageEnglish
  • C#

Reader

struct in Unity.Collections.LowLevel.Unsafe

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A reader for UnsafeAppendBuffer.

Properties

Property Description
EndOfBuffer Whether the offset has advanced past the last of the append buffer's content.
Offset The location of the next read (expressed as a byte offset from the start).
Ptr The internal buffer where the content is stored.
Size The length in bytes of the append buffer's content.

Constructors

Constructor Description
UnsafeAppendBuffer.Reader Initializes and returns an instance of UnsafeAppendBuffer.Reader.

Public Methods

Method Description
ReadNext Reads an element from the append buffer.
ReadNextArray Reads an array from the append buffer.