Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Count()

Returns the total number of items in the buffers of this stream.
Read time 1 minuteLast updated 13 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule
public int Count()

Returns

Type

Description

intThe total number of items in the buffers of this stream.

Remarks

Each NativeStream.Writer.Write and NativeStream.Writer.Allocate call increments this number.