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
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkWriter | writer | |
System.UInt64 | value | |
System.Int32 | blockSize |
Unpack(NetworkReader, Int32)
Declaration
public static ulong Unpack(NetworkReader reader, int blockSize)
Parameters
Type | Name | Description |
---|---|---|
Mirage.Serialization.NetworkReader | reader | |
System.Int32 | blockSize |
Returns
Type | Description |
---|---|
System.UInt64 |