#include <writers.h>
Inheritance diagram for ID3_MemoryWriter::
Public Methods | |
ID3_MemoryWriter () | |
ID3_MemoryWriter (char_type buf[], size_t size) | |
virtual | ~ID3_MemoryWriter () |
virtual void | close () |
Close the writer. More... | |
virtual void | flush () |
Flush the writer. More... | |
virtual size_type | writeChars (const char buf[], size_type len) |
Write up to len chars from buf and advance the internal position accordingly. More... | |
virtual size_type | writeChars (const char_type buf[], size_type len) |
Write up to len characters into buf and advance the internal position accordingly. More... | |
virtual pos_type | getCur () |
Return the next position that will be written to. More... | |
virtual pos_type | getBeg () |
Return the beginning position in the writer *. More... | |
virtual pos_type | getEnd () |
Return the first position that can't be written to. More... | |
Protected Methods | |
void | setBuffer (char_type *buf, size_t size) |
|
Definition at line 149 of file writers.h. References NULL. |
|
|
|
|
|
Close the writer. Any further actions on the writer should fail. * Reimplemented from ID3_Writer. |
|
Flush the writer. * Reimplemented from ID3_Writer. |
|
Return the beginning position in the writer *.
Reimplemented from ID3_Writer. |
|
Return the next position that will be written to.
Reimplemented from ID3_Writer. |
|
Return the first position that can't be written to. A return value of -1 indicates no (reasonable) limit to the writer. Reimplemented from ID3_Writer. |
|
|
|
Write up to Returns the number of characters write into buf. Note that the value returned may be less than the number of bytes that the internal position advances, due to multi-byte characters. Reimplemented from ID3_Writer. |
|
Write up to Returns the number of characters written from buf. Reimplemented from ID3_Writer. Definition at line 164 of file writers.h. References ID3_Writer::writeChars(). |