aboutsummaryrefslogtreecommitdiff
path: root/src/serializerbinary.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/serializerbinary.cpp4
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
44void SerializerBinary::write(const void * pData, int32_t nSize) 44void 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
50void SerializerBinary::read(void * pData, int32_t nSize) 49void 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");