#include <writers.h>
Definition at line 137 of file writers.h.
◆ ID3_MemoryWriter() [1/2]
ID3_MemoryWriter::ID3_MemoryWriter |
( |
| ) |
|
|
inline |
◆ ID3_MemoryWriter() [2/2]
ID3_MemoryWriter::ID3_MemoryWriter |
( |
char_type |
buf[], |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ ~ID3_MemoryWriter()
virtual ID3_MemoryWriter::~ID3_MemoryWriter |
( |
| ) |
|
|
inlinevirtual |
◆ close()
virtual void ID3_MemoryWriter::close |
( |
| ) |
|
|
inlinevirtual |
Close the writer.
Any further actions on the writer should fail.
Implements ID3_Writer.
Definition at line 159 of file writers.h.
◆ flush()
virtual void ID3_MemoryWriter::flush |
( |
| ) |
|
|
inlinevirtual |
◆ getBeg()
virtual pos_type ID3_MemoryWriter::getBeg |
( |
| ) |
|
|
inlinevirtual |
Return the beginning position in the writer.
Reimplemented from ID3_Writer.
Definition at line 183 of file writers.h.
◆ getCur()
virtual pos_type ID3_MemoryWriter::getCur |
( |
| ) |
|
|
inlinevirtual |
Return the next position that will be written to.
Implements ID3_Writer.
Definition at line 178 of file writers.h.
◆ getEnd()
virtual pos_type ID3_MemoryWriter::getEnd |
( |
| ) |
|
|
inlinevirtual |
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.
Definition at line 188 of file writers.h.
◆ setBuffer()
void ID3_MemoryWriter::setBuffer |
( |
char_type * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
inlineprotected |
◆ writeChars() [1/2]
Write up to len
chars from buf and advance the internal position accordingly.
Returns the number of characters written from buf.
Reimplemented from ID3_Writer.
Definition at line 165 of file writers.h.
◆ writeChars() [2/2]
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 169 of file writers.h.
The documentation for this class was generated from the following file: