VLC  4.0.0-dev
Data Structures | Functions
vlc_memstream.h File Reference
Include dependency graph for vlc_memstream.h:

Go to the source code of this file.

Data Structures

struct  vlc_memstream
 In-memory stream object. More...
 

Functions

VLC_EXPORT int vlc_memstream_open (struct vlc_memstream *ms)
 Initializes a byte stream object. More...
 
VLC_EXPORT int vlc_memstream_flush (struct vlc_memstream *ms)
 Flushes a byte stream object. More...
 
VLC_EXPORT int vlc_memstream_close (struct vlc_memstream *ms)
 Closes a byte stream object. More...
 
VLC_EXPORT size_t vlc_memstream_write (struct vlc_memstream *ms, const void *ptr, size_t len)
 Appends a binary blob to a byte stream. More...
 
VLC_EXPORT int vlc_memstream_putc (struct vlc_memstream *ms, int c)
 Appends a single byte to a byte stream. More...
 
VLC_EXPORT int vlc_memstream_puts (struct vlc_memstream *ms, const char *str)
 Appends a nul-terminated string to a byte stream. More...
 
VLC_EXPORT int vlc_memstream_vprintf (struct vlc_memstream *ms, const char *fmt, va_list args)
 Appends a formatted string to a byte stream. More...
 
VLC_EXPORT int vlc_memstream_printf (struct vlc_memstream *s, const char *fmt,...)
 Appends a formatted string to a byte stream. More...