diff --git a/pbuf/pbuf.go b/pbuf/pbuf.go index 71d296c..f4dc15d 100644 --- a/pbuf/pbuf.go +++ b/pbuf/pbuf.go @@ -55,3 +55,8 @@ func InvolveBytes(b ...byte) Bytes { func ParseBytes(b ...byte) Bytes { return bufferPool.ParseBytes(b...) } + +// CountItems see Pool.CountItems +func CountItems() (outside int32, inside int32) { + return bufferPool.CountItems() +}