VLC 4.0.0-dev
Loading...
Searching...
No Matches
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

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