(data byte, n int)
| 348 | } |
| 349 | |
| 350 | func GetFillBytes(data byte, n int) []byte { |
| 351 | b := make([]byte, n) |
| 352 | for i := range b { |
| 353 | b[i] = data |
| 354 | } |
| 355 | |
| 356 | return b |
| 357 | } |
| 358 | func ToFloat64(num interface{}) float64 { |
| 359 | switch v := num.(type) { |
| 360 | case uint: |
no outgoing calls
no test coverage detected