Closed tmm1 closed 7 years ago
I'm going to close this request since I think it's obsolete now.
:+1:. It might still be worth adding Len()
for visibility into the buffer, but that can be a separate PR later.
Yeah Len() could be useful, it might need sync around it.
Sounds good.
This exposes
Len()
andDiscard()
onBuffer
, which makes it possible for users to query and limit the size of the underlying buffer.