(arr []byte)
| 45 | } |
| 46 | |
| 47 | func 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 |
| 57 | func FileExisted(filename string) bool { |
no outgoing calls
no test coverage detected