mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-15 13:41:23 +08:00
20 lines
309 B
Go
20 lines
309 B
Go
|
package buf
|
||
|
|
||
|
import (
|
||
|
"github.com/sagernet/sing/common"
|
||
|
"github.com/sagernet/sing/common/buf"
|
||
|
)
|
||
|
|
||
|
type Buffer = buf.Buffer
|
||
|
|
||
|
var StackNewSize = buf.StackNewSize
|
||
|
var KeepAlive = common.KeepAlive
|
||
|
|
||
|
//go:norace
|
||
|
func Dup[T any](obj T) T {
|
||
|
return common.Dup(obj)
|
||
|
}
|
||
|
|
||
|
var Must = common.Must
|
||
|
var Error = common.Error
|