MLAPI/docs/T_MLAPI_NetworkingManagerComponents_MessageChunker.md
2018-03-31 10:20:18 +02:00

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

 

NameDescription
Public methodStatic memberGetChunkedMessage Chunks a large byte array to smaller chunks
Public methodStatic memberGetMessageOrdered Converts a list of chunks back into the original buffer, this requires the list to be in correct order and properly verified
Public methodStatic memberGetMessageUnordered Converts a list of chunks back into the original buffer, this does not require the list to be in correct order and properly verified
Public methodStatic memberHasDuplicates Checks if a list of chunks have any duplicates inside of it
Public methodStatic memberHasMissingParts Checks if a list of chunks has missing parts
Public methodStatic memberIsOrdered Checks if a list of chunks is in correct order
  Back to Top

See Also

Reference

MLAPI.NetworkingManagerComponents Namespace