2.6 KiB
2.6 KiB
MessageChunker Class
Helper class to chunk messages
Inheritance Hierarchy
System.Object
MLAPI.NetworkingManagerComponents.MessageChunker
Namespace: MLAPI.NetworkingManagerComponents
Assembly: MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class MessageChunker
The MessageChunker type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() ![]() | GetChunkedMessage | Chunks a large byte array to smaller chunks |
![]() ![]() | GetMessageOrdered | Converts a list of chunks back into the original buffer, this requires the list to be in correct order and properly verified |
![]() ![]() | GetMessageUnordered | Converts a list of chunks back into the original buffer, this does not require the list to be in correct order and properly verified |
![]() ![]() | HasDuplicates | Checks if a list of chunks have any duplicates inside of it |
![]() ![]() | HasMissingParts | Checks if a list of chunks has missing parts |
![]() ![]() | IsOrdered | Checks if a list of chunks is in correct order |