u64tob converts a uint64 into an 8-byte slice.
(v uint64)
| 2238 | |
| 2239 | // u64tob converts a uint64 into an 8-byte slice. |
| 2240 | func u64tob(v uint64) []byte { |
| 2241 | b := make([]byte, 8) |
| 2242 | binary.BigEndian.PutUint64(b, v) |
| 2243 | return b |
| 2244 | } |
no outgoing calls
no test coverage detected