Files
mihomo/common/pool/pool.go
2025-06-10 10:54:08 +08:00

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