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
| Type | Description |
|---|---|
| System.ValueTuple{System.Int32,System.Int32} |
Send(INetworkPlayer)
Declaration
public void Send(INetworkPlayer player)
Parameters
| Type | Name | Description |
|---|---|---|
| Mirage.INetworkPlayer | player |
Send(List<INetworkPlayer>)
Declaration
public void Send(List<INetworkPlayer> players)
Parameters
| Type | Name | Description |
|---|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| Mirage.Serialization.StringStore | stringStore | |
| System.Nullable<System.Int32> | _maxMessageSize |
Returns
| Type | Description |
|---|---|
| Mirage.Serialization.BrotliCompression.StringStoreBrotliEncoder |