Skip to main content

Class StringStoreBrotliEncoder

Advanced write/read methods that use "> to compress strings inside

Inheritance​
System.Object
Inherited Members​
Show
Syntax​
public class StringStoreBrotliEncoder

Methods​

GetByteLength()​

Declaration​
public (int lengthsByteCount, int stringsByteCount) GetByteLength()
Returns​
TypeDescription
System.ValueTuple{System.Int32,System.Int32}

Send(INetworkPlayer)​

Declaration​
public void Send(INetworkPlayer player)
Parameters​
TypeNameDescription
Mirage.INetworkPlayerplayer

Send(List<INetworkPlayer>)​

Declaration​
public void Send(List<INetworkPlayer> players)
Parameters​
TypeNameDescription
System.Collections.Generic.List<Mirage.INetworkPlayer>players

Encode(StringStore, Nullable<Int32>)​

Encodes the StringStore so it is ready to send

Declaration​
public static StringStoreBrotliEncoder Encode(StringStore stringStore, int? _maxMessageSize = default(int? ))
Parameters​
TypeNameDescription
Mirage.Serialization.StringStorestringStore
System.Nullable<System.Int32>_maxMessageSize
Returns​
TypeDescription
Mirage.Serialization.BrotliCompression.StringStoreBrotliEncoder