mirror of
https://github.com/fumiama/orbyte.git
synced 2026-06-10 05:04:14 +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 {
|
func ParseBytes(b ...byte) Bytes {
|
||||||
return bufferPool.ParseBytes(b...)
|
return bufferPool.ParseBytes(b...)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CountItems see Pool.CountItems
|
||||||
|
func CountItems() (outside int32, inside int32) {
|
||||||
|
return bufferPool.CountItems()
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user