mihomo/common/buf/sing.go

22 lines
322 B
Go
Raw Permalink Normal View History

package buf
import (
"github.com/sagernet/sing/common"
"github.com/sagernet/sing/common/buf"
)
2023-02-25 13:12:19 +08:00
const BufferSize = buf.BufferSize
type Buffer = buf.Buffer
var New = buf.New
var NewPacket = buf.NewPacket
var NewSize = buf.NewSize
var With = buf.With
var As = buf.As
2023-02-25 13:12:19 +08:00
var (
Must = common.Must
Error = common.Error
)