MCPcopy Create free account
hub / github.com/DNAProject/DNA / ToArrayReverse

Function ToArrayReverse

common/common.go:47–54  ·  view source on GitHub ↗
(arr []byte)

Source from the content-addressed store, hash-verified

45}
46
47func ToArrayReverse(arr []byte) []byte {
48 l := len(arr)
49 x := make([]byte, 0)
50 for i := l - 1; i >= 0; i-- {
51 x = append(x, arr[i])
52 }
53 return x
54}
55
56// FileExisted checks whether filename exists in filesystem
57func FileExisted(filename string) bool {

Callers 7

ToHexStringMethod · 0.85
Uint256FromHexStringFunction · 0.85
I128FromBigIntFunction · 0.85
ToBigIntMethod · 0.85
ToBEHexMethod · 0.85
ToHexStringMethod · 0.85
AddressFromHexStringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected