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