1
0
mirror of https://github.com/fumiama/orbyte.git synced 2026-06-05 18:20:31 +08:00

feat: add Ignore to Item

This commit is contained in:
源文雨
2025-05-13 00:03:32 +09:00
parent d33f1ca53e
commit b102e0a8cf

View File

@@ -45,6 +45,11 @@ func NewBytes(sz int) Bytes {
return bufferPool.NewBytes(sz)
}
// NewBytes alloc sz bytes without involving.
func NewLargeBytes(sz int) Bytes {
return bufferPool.NewLargeBytes(sz)
}
// InvolveBytes involve outside buf into pool.
func InvolveBytes(b ...byte) Bytes {
return bufferPool.InvolveBytes(b...)