Skip to main content

Assets.Scripts.Transport.Utilities

Inheritance#

System.Dynamic.ExpandoObject

System.Dynamic.ExpandoObject

Inherited Members#

Object.Equals(Object)

Object.Equals(Object, Object)

Object.GetHashCode()

Object.GetType()

Object.MemberwiseClone()

Object.ReferenceEquals(Object, Object)

Object.ToString()

Namespace: System.Dynamic.ExpandoObject#
Assembly: MLAPI.dll#
Syntax#
public static class Utilities

Methods#

DeserializeUnmanaged<T>(Byte[])#

Declaration#

public static T DeserializeUnmanaged<T>(byte[] buffer)
where T : struct

Parameters#

TypeNameDescription
System.Byte[]buffer

Returns#

TypeDescription
T

Type Parameters#

NameDescription
T

DeserializeUnmanaged<T>(ref NativeSlice<Byte>)#

Declaration#

public static T DeserializeUnmanaged<T>(ref NativeSlice<byte> buffer)
where T : struct

Parameters#

TypeNameDescription
Unity.Collections.NativeSlice<System.Byte>buffer

Returns#

TypeDescription
T

Type Parameters#

NameDescription
T

SerializeUnmanaged<T>(ref T)#

Declaration#

public static byte[] SerializeUnmanaged<T>(ref T value)
where T : struct

Parameters#

TypeNameDescription
Tvalue

Returns#

TypeDescription
System.Byte[]

Type Parameters#

NameDescription
T