Class CompressionFormatByteExtensions
- Namespace
- IceRpc
- Assembly
- IceRpc.dll
Provides an extension method for creating a CompressionFormat from a byte.
public static class CompressionFormatByteExtensions
- Inheritance
-
CompressionFormatByteExtensions
- Inherited Members
Remarks
The Slice compiler generated this static class from the Slice enum IceRpc::CompressionFormat
.
Methods
AsCompressionFormat(byte)
Converts a byte into the corresponding CompressionFormat enumerator.
public static CompressionFormat AsCompressionFormat(this byte value)
Parameters
value
byteThe value being converted.
Returns
- CompressionFormat
The enumerator.