diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-11-26 01:51:51 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-11-26 01:51:51 +0000 |
commit | dd049c4b3bbe6a605e41b043d933c02cb8497968 (patch) | |
tree | d2f72cde2bf45f428ff8ddfc2aa9e9fa2fc902fd | |
parent | 6ede639c090aa80ba5e9b6be631b87727d741fbe (diff) | |
download | libbu++-dd049c4b3bbe6a605e41b043d933c02cb8497968.tar.gz libbu++-dd049c4b3bbe6a605e41b043d933c02cb8497968.tar.bz2 libbu++-dd049c4b3bbe6a605e41b043d933c02cb8497968.tar.xz libbu++-dd049c4b3bbe6a605e41b043d933c02cb8497968.zip |
Removed uber-debug output from the serializers.
Diffstat (limited to '')
-rw-r--r-- | src/serializerbinary.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/serializerbinary.cpp b/src/serializerbinary.cpp index cb3c8bf..29e7f4b 100644 --- a/src/serializerbinary.cpp +++ b/src/serializerbinary.cpp | |||
@@ -43,14 +43,12 @@ void SerializerBinary::close() | |||
43 | 43 | ||
44 | void SerializerBinary::write(const void * pData, int32_t nSize) | 44 | void SerializerBinary::write(const void * pData, int32_t nSize) |
45 | { | 45 | { |
46 | uint32_t nWrite = fwrite(pData, nSize, 1, fhFile); | 46 | fwrite(pData, nSize, 1, fhFile); |
47 | printf("fwrite( 0x%08X, %d, 1, fhFile ) = %u;\n", pData, nSize, nWrite ); | ||
48 | } | 47 | } |
49 | 48 | ||
50 | void SerializerBinary::read(void * pData, int32_t nSize) | 49 | void SerializerBinary::read(void * pData, int32_t nSize) |
51 | { | 50 | { |
52 | uint32_t nRead = fread(pData, nSize, 1, fhFile); | 51 | uint32_t nRead = fread(pData, nSize, 1, fhFile); |
53 | printf("fread( 0x%08X, %d, 1, fhFile ) = %u;\n", pData, nSize, nRead ); | ||
54 | if( nRead < 1 ) | 52 | if( nRead < 1 ) |
55 | { | 53 | { |
56 | throw FileException( excodeEOF, "End of file read"); | 54 | throw FileException( excodeEOF, "End of file read"); |