LiveMap API
Loading...
Searching...
No Matches
livemap.network.ColormapPacket Class Referencesealed
Inheritance diagram for livemap.network.ColormapPacket:
Collaboration diagram for livemap.network.ColormapPacket:

Public Member Functions

ColormapPacket Compress ()
ColormapPacket Decompress ()
IEnumerable< ColormapChunkPacketToChunks (int maxChunkSize=65536)
 Splits the compressed colormap data into smaller chunks for transfer.

Public Attributes

string? RawBase64String
string? RawColormap

Properties

int Month [get, set]

Member Function Documentation

◆ Compress()

ColormapPacket livemap.network.ColormapPacket.Compress ( )
inline

◆ Decompress()

ColormapPacket livemap.network.ColormapPacket.Decompress ( )
inline

◆ ToChunks()

IEnumerable< ColormapChunkPacket > livemap.network.ColormapPacket.ToChunks ( int maxChunkSize = 65536)
inline

Splits the compressed colormap data into smaller chunks for transfer.

Parameters
maxChunkSizeMaximum size of each chunk in bytes. Default is 64KB.
Returns
An enumerable of ColormapChunkPacket instances.

Member Data Documentation

◆ RawBase64String

string? livemap.network.ColormapPacket.RawBase64String

◆ RawColormap

string? livemap.network.ColormapPacket.RawColormap

Property Documentation

◆ Month

int livemap.network.ColormapPacket.Month
getset

The documentation for this class was generated from the following file: