http://d.puremagic.com/issues/show_bug.cgi?id=5002



--- Comment #2 from Daniel Gibson <metalcae...@gmail.com> 2010-10-11 13:20:40 
PDT ---
It will probably be deprecated, but at this time it isn't (there is no
alternative yet, anyway).

However I just realized that my idea for read() can't be implemented *that*
easy because it wouldn't work properly with EndianStream.
For that to work one would have to check whether T is a simple type (int,
float, double, long, etc) and in that case call fixBO() in EndianStream (like
the available, inconvenient read(<basic type>) methods in EndianStream already
do).

Or do it old school and provide readInt(), readUInt(), readLong(), readUlong(),
readFloat() etc instead of using a template.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to