기술 자료

Unity Engine


Unity Engine


UnsafeStream.Writer

Writes data into a buffer of an UnsafeStream.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public struct UnsafeStream.Writer

Remarks

An individual writer can only be used for one buffer of one stream. Do not create more than one writer for an individual buffer.

Properties

Property

Description

ForEachCountThe number of buffers in the stream of this writer.

Methods

Method

Description

AllocateAllocate space in a buffer.
BeginForEachIndexReadies this writer to write to a particular buffer of the stream.
EndForEachIndexReadies the buffer written by this writer for reading.
WriteWrite a value to a buffer.