[muscle] Re: Bug in Flattenable::FlattenToDataIO ?
- From: Jeremy Friesner <jaf@xxxxxxxxxxxxxx>
- To: muscle@xxxxxxxxxxxxx
- Date: Wed, 26 Mar 2008 16:25:49 -0700
Hi Joel,
Yes, it looks like you are correct. I will fix that for the next muscle
release.
Regarding the alternative C# library, how does yours differ from the one
included in the muscle archive?
Thanks for the detailed report,
Jeremy
On Wednesday 26 March 2008 15:55, Joel Lucsy wrote:
> Hello,
>
> In writing my own C# library, I had some issues in when I wrote a
> Message out to a file with the size header written to the output (a
> file in this case). An empty message should be 12 bytes and with a
> header, 16 bytes. However, only 12 bytes were being written out. So I
> browsed the code and found that Flattenable::FlattenToDataIO (in
> SetupSystem.cpp, line 616) uses the variable fs when writing to the
> DataIO. I believe it should be using bufSize instead which includes
> the size with the header.
> BTW, if anyone is interested in an alternative C# library, let me know.
- Follow-Ups:
- [muscle] Re: Bug in Flattenable::FlattenToDataIO ?
- From: Joel Lucsy
- References:
- [muscle] Bug in Flattenable::FlattenToDataIO ?
- From: Joel Lucsy
Other related posts:
- » [muscle] Bug in Flattenable::FlattenToDataIO ?
- » [muscle] Re: Bug in Flattenable::FlattenToDataIO ?
- » [muscle] Re: Bug in Flattenable::FlattenToDataIO ?
- » [muscle] Re: Bug in Flattenable::FlattenToDataIO ?
- [muscle] Re: Bug in Flattenable::FlattenToDataIO ?
- From: Joel Lucsy
- [muscle] Bug in Flattenable::FlattenToDataIO ?
- From: Joel Lucsy