|
-
June 24th, 2002, 08:23 AM
#1
Not getting the needed result
Iam writing into a buffer an object as bytes.
Then When Iam Trying to read from the buffer the object as say
out.write(m_pRead, BytesToRead);
where "m_pRead" is a pointer to the beginning of the buffer & "BytesToRead" is the no f bytes to read.But Iam not getting the expected result in the return file.
But when I store the same thing in a list & iterate the list to a console output, Iam getting the desired result.
so why Iam not able to get the result when Iam reading the object as bytes
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|