Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Bug in "Streams" documentation (Serialization support)?
Bug in "Streams" documentation (Serialization support)? [message #6975] Wed, 06 December 2006 11:51 Go to next message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
The functions

void SerializeRaw(word *data, dword count)

Serializes raw 16-bit data. Might invoke LoadError if there is not enough data to load.

 data
 Pointer to data to store or buffer to receive loaded data.
 
 count
 Number of values to load/store.


and

void SerializeRaw(word *data, dword count)

Serializes raw 8-bit data. Simple RLE compression is used. Might invoke LoadError if there is not enough data to load or input data are invalid.

 data
 Pointer to data to store or buffer to receive loaded data.
 
 count
 Number of bytes to load/store.


have the same signature which hides instead of overloads.

Does the documentation of the 2nd function show a wrong name?

Werner
Re: Bug in "Streams" documentation (Serialization support)? [message #6976 is a reply to message #6975] Wed, 06 December 2006 12:01 Go to previous messageGo to next message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Hi Werner,

the signature for the second function should be:

void SerializeRaw(byte *data, dword count)


Matthias
Re: Bug in "Streams" documentation (Serialization support)? [message #6982 is a reply to message #6975] Wed, 06 December 2006 12:59 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Sorry, that was entry duplication. Thanks again, fixed.
Re: Bug in "Streams" documentation (Serialization support)? [message #6990 is a reply to message #6976] Wed, 06 December 2006 18:27 Go to previous messageGo to next message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
masu wrote on Wed, 06 December 2006 12:01

Hi Werner,

the signature for the second function should be:

void SerializeRaw(byte *data, dword count)


Matthias


Shocked Sorry, no!

I think it should read

void SerializeRLE(byte *data, dword count)


. Very Happy

Werner
Re: Bug in "Streams" documentation (Serialization support)? [message #6996 is a reply to message #6990] Wed, 06 December 2006 22:29 Go to previous message
masu is currently offline  masu
Messages: 378
Registered: February 2006
Senior Member
Yes, I think you are right.
I should have read the doc text Wink.

Matthias
Previous Topic: Bug in "One" documentation?
Next Topic: [XML] Assertion when GetAttrCount()
Goto Forum:
  


Current Time: Thu Mar 28 13:14:57 CET 2024

Total time taken to generate the page: 0.01789 seconds