From 4309066dff46f52690998bbd1f60ec8b1631f142 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 19 Feb 2009 23:44:57 +0000 Subject: We have the new Bu::CryptoHash base class and Bu::Md5 is here and ready to rock. sha1 is still only a shell, I dunno if/when I'm going to implement that one. So far Bu::Md5 is 100% compatible with md5sum in all tests performed so far, in fact the test program's output is compatible with md5sum in every way (and it's so cute and little too!) Oh, minor update for stdstream and the formatter, they can handle more handy types now. --- src/formatter.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/formatter.cpp') diff --git a/src/formatter.cpp b/src/formatter.cpp index 1ec3c39..36e49c8 100644 --- a/src/formatter.cpp +++ b/src/formatter.cpp @@ -159,6 +159,12 @@ Bu::Formatter &Bu::operator<<( Bu::Formatter &rOut, const char *sStr ) return rOut; } +Bu::Formatter &Bu::operator<<( Bu::Formatter &rOut, char *sStr ) +{ + rOut.writeAligned( sStr, strlen( sStr ) ); + return rOut; +} + Bu::Formatter &Bu::operator<<( Bu::Formatter &rOut, const Bu::FString &sStr ) { rOut.writeAligned( sStr ); -- cgit v1.2.3