SEBinary Represents a BLOB. This used, for example, for avatar images. More...
#include <skype-binary.h>
Public Member Functions | |
| SEBinary () | |
| SEBinary (const SEBinary &b) | |
| SEBinary (unsigned char *buf, size_t length) | |
| SEBinary (char *buf, size_t length) | |
| ~SEBinary () | |
| void | set (const void *buf, unsigned int new_size) |
| void | resize (unsigned int new_size) |
| void | reserve (unsigned int new_size) |
| void | set_at_offset (unsigned int offset, const void *buf, unsigned int new_size) |
| size_t | getSize () const |
| size_t | size () const |
| operator const char * (void) const | |
| const char * | data (void) const |
| char * | data (void) |
| operator char * (void) | |
| bool | operator== (const SEBinary &b) const |
| bool | operator!= (const SEBinary &b) const |
| const SEBinary & | operator= (const SEBinary &b) |
SEBinary Represents a BLOB. This used, for example, for avatar images.
Definition at line 11 of file skype-binary.h.
| SEBinary::SEBinary | ( | ) | [inline] |
Definition at line 14 of file skype-binary.h.
| SEBinary::SEBinary | ( | const SEBinary & | b | ) | [inline] |
Definition at line 15 of file skype-binary.h.
| SEBinary::SEBinary | ( | unsigned char * | buf, | |
| size_t | length | |||
| ) | [inline] |
Definition at line 18 of file skype-binary.h.
| SEBinary::SEBinary | ( | char * | buf, | |
| size_t | length | |||
| ) | [inline] |
Definition at line 21 of file skype-binary.h.
| SEBinary::~SEBinary | ( | ) | [inline] |
Definition at line 24 of file skype-binary.h.
| const char* SEBinary::data | ( | void | ) | const [inline] |
Definition at line 42 of file skype-binary.h.
| char* SEBinary::data | ( | void | ) | [inline] |
Definition at line 45 of file skype-binary.h.
| size_t SEBinary::getSize | ( | ) | const [inline] |
Definition at line 33 of file skype-binary.h.
| SEBinary::operator char * | ( | void | ) | [inline] |
Definition at line 48 of file skype-binary.h.
| SEBinary::operator const char * | ( | void | ) | const [inline] |
Definition at line 39 of file skype-binary.h.
| bool SEBinary::operator!= | ( | const SEBinary & | b | ) | const [inline] |
Definition at line 52 of file skype-binary.h.
References operator==().
Definition at line 51 of file skype-binary.cpp.
| bool SEBinary::operator== | ( | const SEBinary & | b | ) | const |
Definition at line 46 of file skype-binary.cpp.
| void SEBinary::reserve | ( | unsigned int | new_size | ) | [inline] |
Definition at line 29 of file skype-binary.h.
References resize().
| void SEBinary::resize | ( | unsigned int | new_size | ) |
Definition at line 14 of file skype-binary.cpp.
| void SEBinary::set | ( | const void * | buf, | |
| unsigned int | new_size | |||
| ) |
Definition at line 5 of file skype-binary.cpp.
References resize(), and set_at_offset().
| void SEBinary::set_at_offset | ( | unsigned int | offset, | |
| const void * | buf, | |||
| unsigned int | new_size | |||
| ) |
Definition at line 32 of file skype-binary.cpp.
References resize().
| size_t SEBinary::size | ( | ) | const [inline] |
Definition at line 36 of file skype-binary.h.
(c) Skype Technologies S.A. Confidential/Proprietary
Last updated: Fri Jan 27 2012