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 Summary
Constructors Constructor Description BmStoreCompressionUtil()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static byte[]
compress(byte[] content)
Deprecated.Compresses byte content.static byte[]
decompress(byte[] content, int offset, int len)
Deprecated.Decompresses byte content.static byte[]
decompress(ByteBuffer inputBuffer)
Deprecated.Decompresses byte content.
-
-
-
Method Detail
-
compress
public static byte[] compress(byte[] content)
Deprecated.Compresses byte content.- Parameters:
content
- The content to compress. May not benull
.- 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 benull
.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 benull
.- Returns:
- a byte array containing the decompressed content. Never
null
.
-
-