Class BmStoreCompressionUtil

java.lang.Object
com._1c.g5.v8.bm.common.serialization.BmStoreCompressionUtil

@Deprecated public class BmStoreCompressionUtil extends Object
Deprecated.
The class was intended for internal use but leaked to an exported package.
Compression utilities.
  • Constructor Details

    • BmStoreCompressionUtil

      public BmStoreCompressionUtil()
      Deprecated.
  • Method Details

    • compress

      public static byte[] compress(byte[] content)
      Deprecated.
      Compresses byte content.
      Parameters:
      content - The content to compress. May not be null.
      Returns:
      a byte array containing the compressed content. Never null.
    • decompress

      public static byte[] decompress(byte[] content, int offset, int len)
      Deprecated.
      Decompresses byte content.
      Parameters:
      content - The content to decompress. May not be null.
      offset - The offset of the content in the array.
      len - The length of the content.
      Returns:
      a byte array containing the decompressed content. Never null.
    • decompress

      public static byte[] decompress(ByteBuffer inputBuffer)
      Deprecated.
      Decompresses byte content.
      Parameters:
      inputBuffer - A byte buffer containing the content to decompress. May not be null.
      Returns:
      a byte array containing the decompressed content. Never null.