BZIP2 추출

BZIP2, 즉 'Burrows-Wheeler Block Sort Text Compressor'는 유닉스 및 리눅스 시스템에서 흔히 사용되는 파일 압축 유틸리티입니다. 이름에서 알 수 있듯이, 이 프로그램은 개별 텍스트 파일을 압축하는 데 매우 적합합니다. 해당 운영 체제에서 널리 사용되는 형식이지만, 압축 해제가 실패하는 경우도 있습니다. 이는 대용량 BZIP2 파일의 압축을 풀 때 다른 형식보다 더 많은 메모리와 CPU 리소스가 필요하거나, 압축 해제 라이브러리가 TAR 파일과 같은 중첩 아카이브를 지원하지 않기 때문에 발생하는 경우가 많습니다.

하지만 IronZIP 이러한 모든 형식을 지원하므로 호환성 문제는 발생하지 않습니다. 또한 모든 주요 운영 체제에서 작동합니다. BZIP2 파일의 압축을 푸는 간단한 예시를 보여드리겠습니다.

BZIP2 압축 파일 압축 해제 중

We can easily access the functionalities of the IronZIP namespace in our project. Specifically, the IronBZIP2Archive class includes a method called ExtractArchiveToDirectory, which allows us to extract the contents of a BZIP2 file.

The ExtractArchiveToDirectory method in the IronBZIP2Archive class is designed to unpack the contents of a BZIP2 file into a specified directory. 첫 번째 필수 매개변수는 BZIP2 파일의 전체 경로이며, 두 번째 매개변수는 대상 폴더를 지정합니다. 개발자들은 효율성과 보안 측면에서 이 프로세스를 신뢰할 수 있습니다.

It is important to note that both the original file extension and the .bz2 extension must be included in the file name. This is because the file extension is removed during the compression process, and the method also removes the .bz2 extension during extraction.

IronZIP 사용하여 ZIP 파일을 생성, 읽기 및 압축 해제하는 방법을 알아보세요.

시작할 준비 되셨나요?
Nuget 다운로드 19,066 | 버전: 2026.3 방금 출시되었습니다
Still Scrolling Icon

아직도 스크롤하고 계신가요?

빠른 증거를 원하시나요? PM > Install-Package IronZip
샘플 실행 파일이 아카이브로 변환되는 것을 확인하세요.