Representation of a compressed Alfa object value. Contains a implementation specific compress byte[] value. representing the underlying value.
More...
Inherits alfa.rt.CustomEncodedType< T >.
|
| Compressed (Func< DataSupplier, T > c, byte[] encodedBytes) |
| For internal use; create a compressed object. More...
|
|
| Compressed (Converters.SupplierConsumer< T > conv, BuilderConfig builderConfig, T o) |
| For internal use; create a compressed object. More...
|
|
|
override byte[] | Encode (BuilderConfig builderConfig, byte[] data) |
| For internal use; encode data to create compressed value. More...
|
|
override byte[] | Decode (BuilderConfig builderConfig, byte[] data) |
| For internal use; decode data to create uncompressed value. More...
|
|
Representation of a compressed Alfa object value. Contains a implementation specific compress byte[] value. representing the underlying value.
◆ Compressed() [1/2]
For internal use; create a compressed object.
- Parameters
-
c | C. |
encodedBytes | Encoded bytes. |
◆ Compressed() [2/2]
For internal use; create a compressed object.
- Parameters
-
conv | Conv. |
builderConfig | Builder config. |
o | O. |
◆ Decode()
For internal use; decode data to create uncompressed value.
- Returns
- The decode.
- Parameters
-
builderConfig | Builder config. |
data | Data. |
◆ Encode()
For internal use; encode data to create compressed value.
- Returns
- The encode.
- Parameters
-
builderConfig | Builder config. |
data | Data. |
◆ FromValue() [1/2]
Create a Compressed object using the supplied value to be compressed.
- Returns
- The value.
- Parameters
-
convertor | Convertor. |
builderConfig | Builder config. |
unencodedObject | Unencoded object. |
◆ FromValue() [2/2]
Create a Compressed object using the supplied value and compressed bytes.
- Returns
- The value.
- Parameters
-
c | C. |
encodedBytes | Encoded bytes. |
The documentation for this class was generated from the following file:
- Alfa.Net.Runtime/src/main/alfa/rt/Compressed.cs