Skip to main content

Class PackedExtensions

Inheritance
System.Object
Inherited Members
Show
Syntax
public static class PackedExtensions

Methods

WritePackedInt32(NetworkWriter, Int32)

Declaration
public static void WritePackedInt32(this NetworkWriter writer, int i)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Int32i

WritePackedUInt32(NetworkWriter, UInt32)

Declaration
public static void WritePackedUInt32(this NetworkWriter writer, uint value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.UInt32value

WritePackedInt64(NetworkWriter, Int64)

Declaration
public static void WritePackedInt64(this NetworkWriter writer, long i)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.Int64i

WritePackedUInt64(NetworkWriter, UInt64)

Declaration
public static void WritePackedUInt64(this NetworkWriter writer, ulong value)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.UInt64value

ReadPackedInt32(NetworkReader)

Declaration
public static int ReadPackedInt32(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Int32

ReadPackedUInt32(NetworkReader)

Declaration
public static uint ReadPackedUInt32(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.UInt32

ReadPackedInt64(NetworkReader)

Declaration
public static long ReadPackedInt64(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.Int64

ReadPackedUInt64(NetworkReader)

Declaration
public static ulong ReadPackedUInt64(this NetworkReader reader)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
Returns
TypeDescription
System.UInt64