enesim  0.0.23.1
Drawinglibrary
Modules | Functions
Buffer
Stream

Buffer based stream inherits from \1. More...

Modules

 Definitions

Functions

EAPI Enesim_Streamenesim_stream_buffer_new (void *buffer, size_t len, Enesim_Stream_Buffer_Free free_cb)
 Create a new memory based stream.

Detailed Description

Buffer based stream inherits from \1.


Function Documentation

EAPI Enesim_Stream* enesim_stream_buffer_new ( void *  buffer,
size_t  len,
Enesim_Stream_Buffer_Free  free_cb 
)

Create a new memory based stream.

Parameters:
[in]bufferThe buffer that holds the data.
[in]lenThe length of the buffer
[in]free_cbFunction to call to free the provided buffer [Delayed callback]
Returns:
A new memory based enesim stream
 All Data Structures Variables