https://github.com/tbrk/fwrapdata
Stream access to CFMutableData
https://github.com/tbrk/fwrapdata
corefoundation macos stdio
Last synced: 6 months ago
JSON representation
Stream access to CFMutableData
- Host: GitHub
- URL: https://github.com/tbrk/fwrapdata
- Owner: tbrk
- License: unlicense
- Created: 2017-08-19T19:19:44.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-19T20:57:07.000Z (over 8 years ago)
- Last Synced: 2025-05-13T15:19:06.169Z (8 months ago)
- Topics: corefoundation, macos, stdio
- Language: C
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
fwrapdata
=========
Provide stream access to a CFMutableData structure.
It is possible to access the underlying data concurrently with stdio
functions, CFData/CFMutableData functions, and NSData/NSMutableData
methods. Direct access to the underlying data does not change the stream
position (it may be desirable to fseek() after adding or changing bytes).
fclose() must eventually be called on the returned handle to liberate
internally allocated memory.