|
libbio
|
#include <Bytes.h>
Public Types | |
| typedef unsigned char | value_type |
| typedef unsigned char * | iterator |
| typedef const unsigned char * | const_iterator |
| typedef size_t | size_type |
| typedef ::std::ptrdiff_t | difference_type |
Public Member Functions | |
| Bytes () | |
| Bytes (size_t size) | |
| Bytes (const void *data, size_t size) | |
| template<typename InputIt > | |
| Bytes (InputIt first, InputIt last, typename ::std::iterator_traits< InputIt >::iterator_category *=0) | |
| const unsigned char * | Data () const |
| unsigned char * | Data () |
| size_t | Size () const |
| bool | Empty () const |
| void | Clear () |
| void | Resize (size_t size) |
| void | Assign (const void *data, size_t size) |
| void | Append (const void *data, size_t size) |
| BytesView | View () const |
| bool | operator== (const Bytes &other) const |
| bool | operator!= (const Bytes &other) const |
| iterator | begin () |
| iterator | end () |
| const_iterator | begin () const |
| const_iterator | end () const |
| const_iterator | cbegin () const |
| const_iterator | cend () const |
| unsigned char & | operator[] (size_type i) |
| const unsigned char & | operator[] (size_type i) const |
| void | reserve (size_type n) |
| void | push_back (unsigned char b) |
Owning byte buffer for binary blobs.
| typedef ::std::ptrdiff_t bio::Bytes::difference_type |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |