#include <auto_buf.h>
Inheritance diagram for OW32::auto_byte_buf:
Public Member Functions | |
auto_byte_buf () | |
Default constructor to create an empty buffer. | |
auto_byte_buf (const unsigned char *s, size_t n) | |
Constructor that copies an element string using write. | |
auto_byte_buf (const unsigned char *s) | |
Constructor that copies an element string using write. | |
size_t | write (const void *s, size_t n) |
Put a block of elements. | |
size_t | write (const unsigned char *s) |
Put a block of elements, terminated by a 0. | |
size_t | write (const char *s) |
Put a block of elements, terminated by a 0. | |
auto_byte_buf & | operator<< (const char c) |
Insertion operator for a single element. | |
auto_byte_buf & | operator<< (const char *s) |
Insertion operator for a 0 terminated element string. | |
auto_byte_buf & | operator<< (const unsigned char &c) |
Insertion operator for a single element. | |
auto_byte_buf & | operator<< (const unsigned char *s) |
Insertion operator for a 0 terminated element string. |
|
Default constructor to create an empty buffer. Throws no exceptions. |
|
Constructor that copies an element string using write.
|
|
Constructor that copies an element string using write.
|
|
Insertion operator for a 0 terminated element string.
Reimplemented from OW32::auto_buf< unsigned char >. |
|
Insertion operator for a single element.
Reimplemented from OW32::auto_buf< unsigned char >. |
|
Insertion operator for a 0 terminated element string.
|
|
Insertion operator for a single element.
|
|
Put a block of elements, terminated by a 0.
|
|
Put a block of elements, terminated by a 0.
Reimplemented from OW32::auto_buf< unsigned char >. |
|
Put a block of elements.
|