Empty returns false iff buf.Len() == 0
(buf Buffer)
| 38 | |
| 39 | // Empty returns false iff buf.Len() == 0 |
| 40 | func Empty(buf Buffer) bool { |
| 41 | return buf.Len() == 0 |
| 42 | } |
| 43 | |
| 44 | // NewUnboundedBuffer returns a Buffer which buffers "mem" bytes to memory |
| 45 | // and then creates file's of size "file" to buffer above "mem" bytes. |
searching dependent graphs…