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:
@@ -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...)
|
||||
|
||||
Reference in New Issue
Block a user