RetroArch
Typedefs | Functions
memory_stream.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <retro_common_api.h>
Include dependency graph for memory_stream.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef typedefRETRO_BEGIN_DECLS struct memstream memstream_t
 

Functions

memstream_tmemstream_open (unsigned writing)
 
void memstream_close (memstream_t *stream)
 
uint64_t memstream_read (memstream_t *stream, void *data, uint64_t bytes)
 
uint64_t memstream_write (memstream_t *stream, const void *data, uint64_t bytes)
 
int memstream_getc (memstream_t *stream)
 
void memstream_putc (memstream_t *stream, int c)
 
char * memstream_gets (memstream_t *stream, char *buffer, size_t len)
 
uint64_t memstream_pos (memstream_t *stream)
 
void memstream_rewind (memstream_t *stream)
 
int64_t memstream_seek (memstream_t *stream, int64_t offset, int whence)
 
void memstream_set_buffer (uint8_t *buffer, uint64_t size)
 
uint64_t memstream_get_last_size (void)
 

Typedef Documentation

◆ memstream_t

typedef typedefRETRO_BEGIN_DECLS struct memstream memstream_t

Function Documentation

◆ memstream_close()

void memstream_close ( memstream_t stream)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memstream_get_last_size()

uint64_t memstream_get_last_size ( void  )

◆ memstream_getc()

int memstream_getc ( memstream_t stream)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memstream_gets()

char* memstream_gets ( memstream_t stream,
char *  buffer,
size_t  len 
)
Here is the caller graph for this function:

◆ memstream_open()

memstream_t* memstream_open ( unsigned  writing)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memstream_pos()

uint64_t memstream_pos ( memstream_t stream)
Here is the caller graph for this function:

◆ memstream_putc()

void memstream_putc ( memstream_t stream,
int  c 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memstream_read()

uint64_t memstream_read ( memstream_t stream,
void data,
uint64_t  bytes 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memstream_rewind()

void memstream_rewind ( memstream_t stream)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ memstream_seek()

int64_t memstream_seek ( memstream_t stream,
int64_t  offset,
int  whence 
)
Here is the caller graph for this function:

◆ memstream_set_buffer()

void memstream_set_buffer ( uint8_t buffer,
uint64_t  size 
)
Here is the caller graph for this function:

◆ memstream_write()

uint64_t memstream_write ( memstream_t stream,
const void data,
uint64_t  bytes 
)
Here is the call graph for this function:
Here is the caller graph for this function: