| 45 | |
| 46 | template <typename T> |
| 47 | static inline void WriteChars(T& os, char c, size_t count) { |
| 48 | if (count == 0) { |
| 49 | return; |
| 50 | } |
| 51 | TTempBuf buf(count); |
| 52 | memset(buf.Data(), c, count); |
| 53 | StreamWrite(os, buf.Data(), count); |
| 54 | } |
| 55 | |
| 56 | template <typename T> |
| 57 | struct TLeftPad { |
no test coverage detected