mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-16 06:01:21 +08:00
10 lines
145 B
Go
10 lines
145 B
Go
package pool
|
|
|
|
func Get(size int) []byte {
|
|
return defaultAllocator.Get(size)
|
|
}
|
|
|
|
func Put(buf []byte) error {
|
|
return defaultAllocator.Put(buf)
|
|
}
|