mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 19:56:51 +08:00
22 lines
322 B
Go
22 lines
322 B
Go
package buf
|
|
|
|
import (
|
|
"github.com/sagernet/sing/common"
|
|
"github.com/sagernet/sing/common/buf"
|
|
)
|
|
|
|
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
|
|
|
|
var (
|
|
Must = common.Must
|
|
Error = common.Error
|
|
)
|