Interface of a service allowing compression/decompression of data. More...
#include <arcane/core/IDeflateService.h>
Public Member Functions | |
| virtual void | build ()=0 |
| virtual void | compress (ByteConstArrayView values, ByteArray &compressed_values)=0 |
| Compresses the data values and stores it in compressed_values. | |
| virtual void | compress (Span< const Byte > values, ByteArray &compressed_values) |
| Compresses the data values and stores it in compressed_values. | |
| virtual void | decompress (ByteConstArrayView compressed_values, ByteArrayView values)=0 |
| Decompresses the data compressed_values and stores it in values. | |
| virtual void | decompress (Span< const Byte > compressed_values, Span< Byte > values) |
| Decompresses the data compressed_values and stores it in values. | |
Interface of a service allowing compression/decompression of data.
Definition at line 42 of file IDeflateService.h.
|
pure virtual |
Implemented in Arcane::Bzip2DeflateService, and Arcane::LZ4DeflateService.
|
pure virtual |
Compresses the data values and stores it in compressed_values.
This operation may throw an IOException exception in case of an error.
Implemented in Arcane::Bzip2DeflateService, and Arcane::LZ4DeflateService.
References compress().
Referenced by compress(), and compress().
|
virtual |
Compresses the data values and stores it in compressed_values.
This operation may throw an IOException exception in case of an error.
Definition at line 195 of file InterfaceImpl.cc.
References compress(), and Arcane::SpanImpl< T, SizeType, Extent >::smallView().
|
pure virtual |
Decompresses the data compressed_values and stores it in values.
values must already have been allocated to the necessary size to contain the decompressed data. This operation may throw an IOException exception in case of an error.
Implemented in Arcane::Bzip2DeflateService, and Arcane::LZ4DeflateService.
References decompress().
Referenced by decompress(), and decompress().
|
virtual |
Decompresses the data compressed_values and stores it in values.
values must already have been allocated to the necessary size to contain the decompressed data. This operation may throw an IOException exception in case of an error.
Definition at line 204 of file InterfaceImpl.cc.
References decompress(), and Arcane::SpanImpl< T, SizeType, Extent >::smallView().