(c *QueueOutboundElementsContainer)
| 90 | } |
| 91 | |
| 92 | func (device *Device) PutOutboundElementsContainer(c *QueueOutboundElementsContainer) { |
| 93 | for i := range c.elems { |
| 94 | c.elems[i] = nil |
| 95 | } |
| 96 | c.elems = c.elems[:0] |
| 97 | device.pool.outboundElementsContainer.Put(c) |
| 98 | } |
| 99 | |
| 100 | func (device *Device) GetMessageBuffer() *[MaxMessageSize]byte { |
| 101 | return device.pool.messageBuffers.Get().(*[MaxMessageSize]byte) |
no test coverage detected