|
bool | is_open (void) const |
| 受信 More...
|
|
void | close (void) |
| 接続を閉じる More...
|
|
int | write (const char *data, size_t data_size) |
| データの送信 More...
|
|
int | read (char *data, size_t max_data_size, int timeout=0) |
| データの受信 More...
|
|
bool | eof (void) const |
|
bool | uncompress (const std::string &file_name, const std::string &pass="") |
|
Zip::Headers | headers (void) const |
|
bool | open_read_header (const std::string &name) |
|
bool | compress (const std::string &file_name, const std::string &pass="") |
|
bool | add_write_header (const std::string &name, time_t time) |
|
bool Zip::is_open |
( |
void |
| ) |
const |
|
virtual |
int Zip::write |
( |
const char * |
data, |
|
|
size_t |
data_size |
|
) |
| |
|
virtual |
int Zip::read |
( |
char * |
data, |
|
|
size_t |
max_data_size, |
|
|
int |
timeout = 0 |
|
) |
| |
|
virtual |
データの受信
- Parameters
-
[in] | data | 受信データ用のバッファ |
[in] | max_data_size | 受信できるデータの最大 byte 数 |
[in] | timeout | 受信を待つ時間 [msec]。無限に待つ場合には Timeout_infinity を指定する。 |
- Return values
-
Implements hrk::Stream.
- Examples:
- zip_uncompress.cpp, and zip_unzip.cpp.
The documentation for this class was generated from the following files: