Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MG-RAST/Shock
/ SortByteArray
Function
SortByteArray
shock-server/node/util.go:32–37 ·
view source on GitHub ↗
(b []byte)
Source
from the content-addressed store, hash-verified
30
}
31
32
func
SortByteArray(b []byte) []byte {
33
sb := make([]byte, len(b))
34
copy(sb, b)
35
sort.Sort(sortBytes(sb))
36
return
sb
37
}
Callers
1
UpdateVersion
Method · 0.85
Calls
1
sortBytes
TypeAlias · 0.85
Tested by
no test coverage detected