Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- func BytesLength(src []byte) (_result *int64)
- func Compress(src []byte, compressType *string) (_result []byte, _err error)
- func IsCompressorAvailable(compressType *string) (_result *bool)
- func IsDecompressorAvailable(compressType *string) (_result *bool)
- func ReadAndUncompressBlock(stream io.Reader, compressType *string, bodyRawSize *string) (_result io.Reader, _err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesLength ¶ added in v0.0.3
func Compress ¶ added in v0.0.3
Description:
Compress data by specified compress type, use isCompressorAvailable to check if the compress type is supported.
@param src - the data to be compressed
@param compressType - the compress type
@return the compressed data
@throws error if the compress type is not supported or the compress failed
func IsCompressorAvailable ¶ added in v0.0.3
func IsDecompressorAvailable ¶ added in v0.0.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.