interface ChunkQueue
An API that allows a ChunkSender to queue chunks into batched requests.
addChunks |
Enqueue the chunks; return false if not successful. abstract fun addChunks(chunks: List<ByteArray>): Boolean |
drop |
Remove at most the first abstract fun drop(count: Int): Unit |
peek |
Return a list with at most the first abstract fun peek(count: Int): List<ByteArray> |