본문 바로가기
반응형

C/C++7

[OS - 🍎 macOS] Minizip 오픈소스를 활용 한 압축 (Compression) 기능 구현 카테고리 게시글 작성 날짜 게시글 최근 수정 날짜 작성자 Operating System 2022.02.08. 22:30 2022.02.14. 20:57 Dev.Yang 아래의 첨부 파일은 Minizip OpenSource Library 입니다. 아래의 첨부 파일은 전체적인 프로젝트 파일입니다. 압축 (Compression) 속성은 NoCompression (압축을 하지 않음), BestSpeed (압축률 가장 낮지만 시간 빠름), DefaultCompression (기본적인 압축률), BestCompression (압축률이 가장 높지만 시간 느림)이 있습니다. 구현 된 소스코드 (Source Code)는 아래의 예시처럼 사용할 수 있습니다. let target = URL(fileURLWithPath: ".. 2022. 2. 8.
[iOS] Xcode를 통하여 Swift 언어에서 C/C++ 사용하기 (How to call C/C++ code from Swift) 카테고리 게시글 작성 날짜 게시글 최근 수정 날짜 작성자 iOS 2022.02.07. 10:59 2022.02.07. 10:59 Dev.Yang 1. Xcode 프로젝트 내부에 C/C++ 소스코드 또는 라이브러리를 추가합니다. 2. C/C++ 소스코드 또는 라이브러리 내부에 아래의 형태로 module.modulemap 파일을 생성합니다. module Minizip [system][extern_c] { header "최상위 헤더 파일 경로" link "z" export * } module.modulemap 예제는 아래와 같습니다. module Minizip [system][extern_c] { header "../include/Minizip.h" link "z" export * } 3. Xcode Swif.. 2022. 2. 7.
[iOS] Swift C/C++ Language Type (C/C++ Interoperability) 카테고리 (Category) 작성 날짜 (Write Date) 최근 수정 날자 (Recent Write Date) 작성자 (Writer) iOS 2020.07.18. 13:11 2021.10.31. 21:08:59 Dev.Yang 🗂 Swift Lanuage C/C++ Interoperability Type C Language Data Type Swift (C Interoperability) Type Typealias bool CBool Bool char,unsigned char CChar, CUnsignedChar Int8, UInt8 short, unsigned short CShort, CUnsignedShort Int16, UInt16 int, unsigned int CInt, CUnsignedIn.. 2020. 7. 18.
[C/C++] 시리얼 통신 (Serial Communication) In telecommunication and data transmission, serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits are sent as a whole, on a link with several parallel channels. Serial communication is used for all long-haul communication and most computer networks, where.. 2019. 9. 4.
반응형