C# 클래스 Emgu.CV.Util.ZlibCompression

Use zlib included in OpenCV to perform in-memory binary compression and decompression
파일 보기 프로젝트 열기: fajoy/RTSPExample

공개 메소드들

메소드 설명
Compress ( Byte original, int compressionLevel ) : Byte[]

Compress the data using the specific compression level

Uncompress ( Byte compressedData, int estimatedUncompressedSize ) : Byte[]

Uncompress the data

메소드 상세

Compress() 공개 정적인 메소드

Compress the data using the specific compression level
public static Compress ( Byte original, int compressionLevel ) : Byte[]
original Byte The data to be compressed
compressionLevel int The compression level, 0-9 where 0 mean no compression at all
리턴 Byte[]

Uncompress() 공개 정적인 메소드

Uncompress the data
public static Uncompress ( Byte compressedData, int estimatedUncompressedSize ) : Byte[]
compressedData Byte The compressed data
estimatedUncompressedSize int The estimated size fo the uncompress data. Must be large enough to hold the decompressed data.
리턴 Byte[]