Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SmartPool/smartpool-client
/ BytesToBig
Function
BytesToBig
types.go:20–25 ·
view source on GitHub ↗
(data []byte)
Source
from the content-addressed store, hash-verified
18
)
19
20
func
BytesToBig(data []byte) *big.Int {
21
n := new(big.Int)
22
n.SetBytes(data)
23
24
return
n
25
}
26
27
func
rev(b []byte) []byte {
28
for
i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
Callers
2
Big
Method · 0.85
Big
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected