mirror of
https://github.com/fumiama/orbyte.git
synced 2026-06-05 02:00:30 +08:00
feat(pbuf): add api CountItems
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user