1
0
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:
源文雨
2025-04-04 02:23:04 +09:00
parent 7df56b0917
commit 59e6e88dbb

View File

@@ -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()
}