#include <mem_io_channel.h>
|
| MemIO (int _cap=1024 *1024) |
|
| ~MemIO () |
|
void | load_from_file (FileIO *fio, uint64_t size) |
|
void | clear () |
|
void | send_data_impl (const void *data, int len) |
|
void | recv_data_impl (void *data, int len) |
|
void | send_data (const void *data, int nbyte) |
|
void | recv_data (void *data, int nbyte) |
|
| ~IOChannel () |
|
void | set_key (const block *b) |
|
void | send_data_enc (const void *data, int len) |
|
void | send_block_enc (const block *data, int len) |
|
void | send_bn_enc (const bn_t *bn, size_t num) |
|
void | recv_data_enc (void *data, int len) |
|
void | recv_block_enc (block *data, int len) |
|
void | send_eb_enc (const eb_t *eb, size_t num) |
|
void | recv_eb_enc (eb_t *eb, size_t num) |
|
void | recv_bn_enc (bn_t *bn, size_t num) |
|
void | send_block (const block *data, int nblock) |
|
void | recv_block (block *data, int nblock) |
|
void | send_eb (const eb_t *eb, size_t num) |
|
void | recv_eb (eb_t *eb, size_t num) |
|
void | send_bn (const bn_t *bn, size_t num) |
|
void | recv_bn (bn_t *bn, size_t num) |
|
§ MemIO()
MemIO::MemIO |
( |
int |
_cap = 1024*1024 | ) |
|
|
inline |
§ ~MemIO()
§ clear()
§ load_from_file()
void MemIO::load_from_file |
( |
FileIO * |
fio, |
|
|
uint64_t |
size |
|
) |
| |
|
inline |
§ recv_data_impl()
void MemIO::recv_data_impl |
( |
void * |
data, |
|
|
int |
len |
|
) |
| |
|
inline |
§ send_data_impl()
void MemIO::send_data_impl |
( |
const void * |
data, |
|
|
int |
len |
|
) |
| |
|
inline |
§ buffer
char* MemIO::buffer = nullptr |
§ cap
§ read_pos
§ size
The documentation for this class was generated from the following file: