| 113 | } |
| 114 | |
| 115 | void Stream::writeString(const char *string, S32 maxLen) |
| 116 | { |
| 117 | S32 len = string ? dStrlen(string) : 0; |
| 118 | if(len > maxLen) |
| 119 | len = maxLen; |
| 120 | |
| 121 | write(U8(len)); |
| 122 | if(len) |
| 123 | write(len, string); |
| 124 | } |
| 125 | |
| 126 | bool Stream::writeFormattedBuffer(const char *format, ...) |
| 127 | { |
no test coverage detected