Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


WritePackedLong(long, in StreamCompressionModel)

Writes a 8-byte signed long value to the data stream using a StreamCompressionModel.
Read time 1 minuteLast updated 12 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

WritePackedLong(long, StreamCompressionModel)

public bool WritePackedLong(long value, in StreamCompressionModel model)

Parameters

value

The 8-byte signed long to write.

StreamCompressionModel model for writing value in a packed manner.

Returns

Type

Description

boolWhether the write was successful