No problem Chris. That bit I can do!! In fact I was tinkering about with CornedBee's sample this afternoon and it's given me loads of ideas.Quote:
Originally posted by dude_1967
all cast overwrites are left out. So if you want 'em you'll have to add 'em.
The only thing I've noticed is that I can't figure out if it's big endian or little endian - e.g. the constructor:-Quote:
Originally posted by dude_1967
This code is absolutely new and it has not been verified significantly.
appears big endian but I wasn't sure if it was just a typo.Code:explicit inline c_integer24(const UINT32 u)
{
m_data[2] = static_cast<UINT8>(u);
m_data[1] = static_cast<UINT8>(u >> 8);
m_data[0] = static_cast<UINT8>(u >> 16);
}
Thanks to everyone BTW. I think I'll be busy for the next few days!
