(a []byte, size uint32)
| 20 | } |
| 21 | |
| 22 | func msbPadding(a []byte, size uint32) []byte { |
| 23 | result := make([]byte, len(a)) |
| 24 | copy(result, a) |
| 25 | for i := uint32(len(a)); i < size; i++ { |
| 26 | result = append([]byte{0}, result...) |
| 27 | } |
| 28 | return result |
| 29 | } |
no outgoing calls
no test coverage detected