기술 자료

Unity Engine

Unity Engine

Reader

Initializes and returns an instance of UnsafeAppendBuffer.Reader.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

Reader(UnsafeAppendBuffer)

Initializes and returns an instance of UnsafeAppendBuffer.Reader.
public Reader(ref UnsafeAppendBuffer buffer)

Parameters

A reference to the append buffer to read.

Reader(void*, int)

Initializes and returns an instance of UnsafeAppendBuffer.Reader that reads from a buffer.
public Reader(void* ptr, int length)

Parameters

The buffer to read as an UnsafeAppendBuffer.

length

The length in bytes of the

Remarks

The buffer will be read "as if" it is an UnsafeAppendBuffer whether it was originally allocated as one or not.