id3lib 3.8.3
|
#include <io_strings.h>
Public Member Functions | |
StringWriter (String &string) | |
virtual | ~StringWriter () |
void | close () |
Close the writer. More... | |
void | flush () |
Flush the writer. More... | |
virtual size_type | writeChars (const char buf[], size_type len) |
size_type | writeChars (const char_type buf[], size_type len) |
Write up to len characters into buf and advance the internal position accordingly. More... | |
pos_type | getCur () |
Return the next position that will be written to. More... | |
![]() | |
virtual void | close ()=0 |
Close the writer. More... | |
virtual void | flush ()=0 |
Flush the writer. 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... | |
virtual pos_type | getCur ()=0 |
Return the next position that will be written to. More... | |
virtual size_type | getSize () |
Return the number of bytes written. More... | |
virtual size_type | getMaxSize () |
Return the maximum number of bytes that can be written. More... | |
virtual int_type | writeChar (char_type ch) |
Write a single character and advance the internal position. More... | |
virtual size_type | writeChars (const char_type buf[], size_type len)=0 |
Write up to len characters into buf and advance the internal position accordingly. More... | |
virtual size_type | writeChars (const char buf[], size_type len) |
virtual bool | atEnd () |
Additional Inherited Members | |
![]() | |
typedef uint32 | size_type |
typedef uint8 | char_type |
typedef uint32 | pos_type |
typedef int32 | off_type |
typedef int16 | int_type |
![]() | |
static const int_type | END_OF_WRITER = -1 |
Definition at line 183 of file io_strings.h.
|
inline |
Definition at line 187 of file io_strings.h.
|
inlinevirtual |
Definition at line 188 of file io_strings.h.
|
inlinevirtual |
Close the writer.
Any further actions on the writer should fail.
Implements ID3_Writer.
Definition at line 190 of file io_strings.h.
|
inlinevirtual |
|
inlinevirtual |
Return the next position that will be written to.
Implements ID3_Writer.
Definition at line 203 of file io_strings.h.
|
inlinevirtual |
Reimplemented from ID3_Writer.
Definition at line 192 of file io_strings.h.
Write up to len
characters into buf and advance the internal position accordingly.
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.
Implements ID3_Writer.
Definition at line 197 of file io_strings.h.