Class BmStoreCompressionUtil
java.lang.Object
com._1c.g5.v8.bm.common.serialization.BmStoreCompressionUtil
Deprecated.
The class was intended for internal use but leaked to an exported package.
Compression utilities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.
-
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 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
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
.
-