(n uint32)
| 240 | } |
| 241 | |
| 242 | func Uint32ToBytes(n uint32) []byte { |
| 243 | return []byte{ |
| 244 | byte(n), |
| 245 | byte(n >> 8), |
| 246 | byte(n >> 16), |
| 247 | byte(n >> 24), |
| 248 | } |
| 249 | } |
| 250 | |
| 251 | func Uint64ToBytes(n uint64) []byte { |
| 252 | return []byte{ |
no outgoing calls
no test coverage detected