Also, these docs aren't necessarily built on the target machine; so I would prefer the doc string to say something more like

> On little-endian targets this is a no-op, on big-endian targets the bytes are swapped.

I guess you could also mention the target on which the docs are built, but that's optional.