MCPcopy Create free account
hub / github.com/Monibuca/engine / BigLittleSwap

Function BigLittleSwap

util/big_little_endian.go:267–269  ·  view source on GitHub ↗
(v uint)

Source from the content-addressed store, hash-verified

265}
266
267func BigLittleSwap(v uint) uint {
268 return (v >> 24) | ((v>>16)&0xff)<<8 | ((v>>8)&0xff)<<16 | (v&0xff)<<24
269}

Callers 1

WritePSIFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected