|
| LineTailByteSink () |
|
virtual void | WriteBytes (const u8 *data, const u32 len) |
|
virtual s32 | CanWrite () |
|
u32 | GetBytesWritten () const |
|
u32 | GetLines () const |
|
const char * | GetZString (u32 whichLine) |
|
void | Trim (u32 lines) |
|
void | Reset () |
|
virtual void | WriteByte (u8 ch) |
|
virtual void | WriteNewline () |
|
void | Print (const char *str, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (const u8 *str, u32 len, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (s32 decimal, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (u32 decimal, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (s64 decimal, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (u64 decimal, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (u32 num, Format::Type code, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (s32 num, Format::Type code, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (u64 num, Format::Type code, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (s64 num, Format::Type code, s32 fieldWidth=-1, u8 padChar= ' ') |
|
void | Print (ByteSerializable &byteSerializble, s32 argument=0) |
|
void | Println () |
|
void | Println (u8 byte) |
|
void | Println (const char *str) |
|
void | Println (const u8 *str, u32 len) |
|
void | Println (s32 decimal) |
|
void | Println (u32 decimal) |
|
void | Println (u32 decimal, Format::Type code) |
|
void | Println (ByteSerializable &byteSerializable, s32 argument=0) |
|
void | Printf (const char *format,...) |
|
void | Vprintf (const char *format, va_list &ap) |
|
template<u32 LINES, u32 BYTES_PER_LINE>
class MFM::LineTailByteSink< LINES, BYTES_PER_LINE >
A ByteSink that holds up to LINES lines each of up to BYTES_PER_LINE bytes. Excess bytes written to any given line are discarded as by OverflowableCharBufferByteSink. Once more than LINES lines have been written, the oldest lines are silently discarded to make room.