RetroArch
|
Classes | |
struct | memstream |
Functions | |
static void | memstream_update_pos (memstream_t *stream) |
void | memstream_set_buffer (uint8_t *buffer, uint64_t size) |
uint64_t | memstream_get_last_size (void) |
static void | memstream_init (memstream_t *stream, uint8_t *buffer, uint64_t max_size, unsigned writing) |
memstream_t * | memstream_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) |
int64_t | memstream_seek (memstream_t *stream, int64_t offset, int whence) |
void | memstream_rewind (memstream_t *stream) |
uint64_t | memstream_pos (memstream_t *stream) |
char * | memstream_gets (memstream_t *stream, char *buffer, size_t len) |
int | memstream_getc (memstream_t *stream) |
void | memstream_putc (memstream_t *stream, int c) |
Variables | |
static uint8_t * | g_buffer = NULL |
static uint64_t | g_size = 0 |
static uint64_t | last_file_size = 0 |
void memstream_close | ( | memstream_t * | stream | ) |
int memstream_getc | ( | memstream_t * | stream | ) |
char* memstream_gets | ( | memstream_t * | stream, |
char * | buffer, | ||
size_t | len | ||
) |
|
static |
memstream_t* memstream_open | ( | unsigned | writing | ) |
uint64_t memstream_pos | ( | memstream_t * | stream | ) |
void memstream_putc | ( | memstream_t * | stream, |
int | c | ||
) |
uint64_t memstream_read | ( | memstream_t * | stream, |
void * | data, | ||
uint64_t | bytes | ||
) |
void memstream_rewind | ( | memstream_t * | stream | ) |
int64_t memstream_seek | ( | memstream_t * | stream, |
int64_t | offset, | ||
int | whence | ||
) |
|
static |
uint64_t memstream_write | ( | memstream_t * | stream, |
const void * | data, | ||
uint64_t | bytes | ||
) |
|
static |
|
static |