An open API service indexing awesome lists of open source software.

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

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.