Fast MSB to LSB

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Jul 17 22:59:02 PDT 2016


On Monday, 18 July 2016 at 04:54:07 UTC, Rufus Smith wrote:
> Is there any MSB to LSB and vice versa in phobos? Or some 
> tricks with templates that make it fast as possible?

you mean endianness conversions? then yes. see 
std.bitmanip:swapendian and friends.


More information about the Digitalmars-d-learn mailing list