NewArrayU32 creates a returns a new array of uint32 with the specified initial size and capacity
(size, capacity int)
| 218 | // NewArrayU32 creates a returns a new array of uint32 |
| 219 | // with the specified initial size and capacity |
| 220 | func NewArrayU32(size, capacity int) ArrayU32 { |
| 221 | |
| 222 | return make([]uint32, size, capacity) |
| 223 | } |
| 224 | |
| 225 | // Bytes returns the size of the array in bytes |
| 226 | func (a *ArrayU32) Bytes() int { |
no outgoing calls
no test coverage detected