a9a928e40e3b691924c8e5e444e3e1a4320aa3bd |
|
12-Aug-2016 |
Stephan Bosch <stephan@rename-it.nl> |
lib: Implemented i_stream_create_copy_from_data().
Unlike i_stream_create_from_data(), this function makes a copy of the provided data block. This way, the application does not need to worry about keeping it allocated for the lifetime of the stream.
The copied data is allocated durably on the system pool and freed once the stream is destroyed. |