MCPcopy Create free account
hub / github.com/SmartPool/smartpool-client / rev

Function rev

types.go:27–32  ·  view source on GitHub ↗
(b []byte)

Source from the content-addressed store, hash-verified

25}
26
27func rev(b []byte) []byte {
28 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
29 b[i], b[j] = b[j], b[i]
30 }
31 return b
32}
33
34func (w Word) ToUint256Array() []*big.Int {
35 result := []*big.Int{}

Callers 1

ToUint256ArrayMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected