Missing API Documentation
This API Class does not have any or complete API documentation. Please add API documentation if possible.
The EncodingService service inherits from Instance.
Methods
CompressBuffer(input: buffer, algorithm: CompressionAlgorithm, compressionLevel: int = 1): buffer
| Name | Type | Default |
|---|---|---|
| input | buffer | |
| algorithm | CompressionAlgorithm | |
| compressionLevel | int | 1 |
- Thread safety: safe
ComputeBufferHash(input: buffer, algorithm: HashAlgorithm): buffer
| Name | Type |
|---|---|
| input | buffer |
| algorithm | HashAlgorithm |
- Thread safety: safe
ComputeStringHash(input: string, algorithm: HashAlgorithm): string
| Name | Type |
|---|---|
| input | string |
| algorithm | HashAlgorithm |
- Thread safety: safe
DecompressBuffer(input: buffer, algorithm: CompressionAlgorithm): buffer
| Name | Type |
|---|---|
| input | buffer |
| algorithm | CompressionAlgorithm |
- Thread safety: safe
GetDecompressedBufferSize(input: buffer, algorithm: CompressionAlgorithm): int?
| Name | Type |
|---|---|
| input | buffer |
| algorithm | CompressionAlgorithm |
- Thread safety: safe