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