CheckGet checks if an entry can be read from index
(index int)
| 196 | |
| 197 | // CheckGet checks if an entry can be read from index |
| 198 | func (q *BytesQueue) CheckGet(index int) error { |
| 199 | return q.peekCheckErr(index) |
| 200 | } |
| 201 | |
| 202 | // Capacity returns number of allocated bytes for queue |
| 203 | func (q *BytesQueue) Capacity() int { |