Skip to main content

Class VarIntBlocksPacker

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

Methods

Pack(NetworkWriter, UInt64, Int32)

Declaration
public static void Pack(NetworkWriter writer, ulong value, int blockSize)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkWriterwriter
System.UInt64value
System.Int32blockSize

Unpack(NetworkReader, Int32)

Declaration
public static ulong Unpack(NetworkReader reader, int blockSize)
Parameters
TypeNameDescription
Mirage.Serialization.NetworkReaderreader
System.Int32blockSize
Returns
TypeDescription
System.UInt64