RTI Connext C# API
6.1.0
|
Configures data compression More...
Inherits IEquatable< CompressionSettings >.
Public Member Functions | |
CompressionSettings | With (Action< CompressionSettingsBuilder > build) |
Creates a new CompressionSettings with a set of changes specified in an Action More... | |
override int | GetHashCode () |
Gets the hash code More... | |
override bool | Equals (object other) |
Compares for equality More... | |
bool | Equals (CompressionSettings other) |
Compares for equality More... | |
Static Public Attributes | |
const uint | BestCompressionLevel |
Specifies the WriterCompressionLevel with the best compression possible for a compression algorithm. More... | |
const uint | BestSpeedCompressionLevel |
Specifies the WriterCompressionLevel with the best speed possible for a compression algorithm. More... | |
const uint | DefaultCompressionLevel |
The default WriterCompressionLevel. More... | |
const uint | DefaultCompressionThreshold |
The default WriterCompressionThreshold. More... | |
Properties | |
CompressionId | CompressionIds [get] |
Mask that represents the compression algorithms enabled. More... | |
uint | WriterCompressionLevel [get] |
The level of compression to use when compressing data. More... | |
int | WriterCompressionThreshold [get] |
The threshold, in bytes, above which a serialized sample will be eligible to be compressed. More... | |
static CompressionSettings | Default [get] |
Singleton containing the default value of a CompressionSettings More... | |
Configures data compression
bool Equals | ( | CompressionSettings | other | ) |
Compares for equality
override bool Equals | ( | object | other | ) |
Compares for equality
override int GetHashCode | ( | ) |
Gets the hash code
CompressionSettings With | ( | Action< CompressionSettingsBuilder > | build | ) |
Creates a new CompressionSettings with a set of changes specified in an Action
build | An Action (typically a lambda function) that receives a modifiable object with the current values of this CompressionSettings. |
|
static |
Specifies the WriterCompressionLevel with the best compression possible for a compression algorithm.
|
static |
Specifies the WriterCompressionLevel with the best speed possible for a compression algorithm.
|
static |
The default WriterCompressionLevel.
|
static |
The default WriterCompressionThreshold.
|
get |
Mask that represents the compression algorithms enabled.
The full documentation is available in the C API: DDS_CompressionSettings_t::compression_ids
|
staticget |
Singleton containing the default value of a CompressionSettings
|
get |
The level of compression to use when compressing data.
The full documentation is available in the C API: DDS_CompressionSettings_t::writer_compression_level
|
get |
The threshold, in bytes, above which a serialized sample will be eligible to be compressed.
The full documentation is available in the C API: DDS_CompressionSettings_t::writer_compression_threshold