MallocLen implements Connection.
()
| 250 | |
| 251 | // MallocLen implements Connection. |
| 252 | func (c *connection) MallocLen() (length int) { |
| 253 | return c.outputBuffer.MallocLen() |
| 254 | } |
| 255 | |
| 256 | // Flush will send all malloc data to the peer, |
| 257 | // so must confirm that the allocated bytes have been correctly assigned. |