26 lines
753 B
C
26 lines
753 B
C
#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*/
|