InStream/OutStream
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#ifndef INCLUDED_C_BUFFERINPUTSTREAM_H
|
||||
#define INCLUDED_C_BUFFERINPUTSTREAM_H
|
||||
|
||||
#ifndef INCLUDED_C_INSTREAM_H
|
||||
#include <c_InStream.h>
|
||||
#endif /*INCLUDED_C_INSTREAM_H*/
|
||||
|
||||
#ifndef INCLUDED_C_ALLOCATOR_H
|
||||
#include <c_Allocator.h>
|
||||
#endif /*INCLUDED_C_ALLOCATOR_H*/
|
||||
|
||||
|
||||
|
||||
/* ------------------------------------------------------------------------------------------------------------------ */
|
||||
/* */
|
||||
|
||||
|
||||
/**
|
||||
* @brief Instantiates an in-memory buffer Stream reader.
|
||||
* @note This implementation performs a shallow copy of the reference pointer, or handles data depending on arguments.
|
||||
*/
|
||||
c_err_t c_BufferInputStream_Create(c_InStream_t** out_stream, const void* buffer_ptr, c_size_t buffer_len, c_Allocator_t* allocator);
|
||||
|
||||
|
||||
#endif /*INCLUDED_C_BUFFERINPUTSTREAM_H*/
|
||||
Reference in New Issue
Block a user