Package net.sourceforge.plantuml.code
Interface Compression
- All Known Implementing Classes:
CompressionBrotli
,CompressionHuffman
,CompressionNone
,CompressionZip
,CompressionZlib
,CompressionZlibAttic
,CompressionZopfliZlib
public interface Compression
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
compress
(byte[] in) Shrinks the givenin
array with lengthlen
decompress
(byte[] in) Grows the givenin
array with lengthlen
compressed with theshrink
method.
-
Method Details
-
compress
byte[] compress(byte[] in) Shrinks the givenin
array with lengthlen
- Returns:
- a newly created array with the compressed data.
-
decompress
Grows the givenin
array with lengthlen
compressed with theshrink
method.- Returns:
- a newly created array with the expanded data.
- Throws:
NoPlantumlCompressionException
-