MySQL 9.1.0
Source Code Documentation
|
The abstract class for basic output streams which provides write operation. More...
#include <basic_ostream.h>
Public Member Functions | |
virtual bool | write (const unsigned char *buffer, my_off_t length)=0 |
Write some bytes into the output stream. More... | |
virtual | ~Basic_ostream ()=default |
The abstract class for basic output streams which provides write operation.
|
virtualdefault |
|
pure virtual |
Write some bytes into the output stream.
When all data is written into the stream successfully, then it return false. Otherwise, true is returned. It will never returns false when partial data is written into the stream.
[in] | buffer | Data to be written |
[in] | length | Length of the data |
false | Success. |
true | Error. |
Implemented in Transaction_message, Transaction_with_guarantee_message, IO_CACHE_ostream, StringBuffer_ostream< BUFFER_SIZE >, Compressed_ostream, MYSQL_BIN_LOG::Binlog_ofile, Binlog_event_writer, IO_CACHE_binlog_cache_storage, Binlog_cache_storage, and Binlog_encryption_ostream.