RTI Connext C# API Version 7.3.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 = 10 |
Specifies the WriterCompressionLevel with the best compression possible for a compression algorithm. More... | |
const uint | BestSpeedCompressionLevel = 1 |
Specifies the WriterCompressionLevel with the best speed possible for a compression algorithm. More... | |
const uint | DefaultCompressionLevel = BestCompressionLevel |
The default WriterCompressionLevel. More... | |
const uint | DefaultCompressionThreshold = 0 |
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
|
inline |
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. |
|
inline |
Gets the hash code
override bool Rti.Dds.Core.Policy.CompressionSettings.Equals | ( | object | other | ) |
Compares for equality
|
inline |
Compares for equality
|
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: DDSCompressionSettings_t_compression_ids
|
get |
The level of compression to use when compressing data.
The full documentation is available in the C API: DDSCompressionSettings_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: DDSCompressionSettings_t_writer_compression_threshold
|
staticget |
Singleton containing the default value of a CompressionSettings