View Source Nostrum.Shard.Session.Compression.Zlib (Nostrum v0.10.0)
Implementation of compression methods for the zlib
compression algorithm.
Internal module
This module is intended for exclusive usage inside of nostrum, and is documented for completeness and people curious to look behind the covers.
Summary
Functions
Callback implementation for Nostrum.Shard.Session.Compression.create_context/0
.
Callback implementation for Nostrum.Shard.Session.Compression.inflate/2
.
Callback implementation for Nostrum.Shard.Session.Compression.reset_context/1
.
Functions
@spec create_context() :: :zlib.zstream()
Callback implementation for Nostrum.Shard.Session.Compression.create_context/0
.
@spec inflate(:zlib.zstream(), iodata()) :: iolist()
Callback implementation for Nostrum.Shard.Session.Compression.inflate/2
.
@spec reset_context(:zlib.zstream()) :: :zlib.zstream()
Callback implementation for Nostrum.Shard.Session.Compression.reset_context/1
.