Class CompressionNone

java.lang.Object
net.sourceforge.plantuml.code.CompressionNone
All Implemented Interfaces:
Compression

public class CompressionNone extends java.lang.Object implements Compression
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    compress(byte[] in)
    Shrinks the given in array with length len
    decompress(byte[] in)
    Grows the given in array with length len compressed with the shrink method.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CompressionNone

      public CompressionNone()
  • Method Details

    • compress

      public byte[] compress(byte[] in)
      Description copied from interface: Compression
      Shrinks the given in array with length len
      Specified by:
      compress in interface Compression
      Returns:
      a newly created array with the compressed data.
    • decompress

      public ByteArray decompress(byte[] in)
      Description copied from interface: Compression
      Grows the given in array with length len compressed with the shrink method.
      Specified by:
      decompress in interface Compression
      Returns:
      a newly created array with the expanded data.