github.com/sagernet/quic-go@v0.43.1-beta.1/ech/buffer_pool.go (about) 1 package quic 2 3 import ( 4 "github.com/sagernet/quic-go" 5 ) 6 7 type packetBuffer = quic.PacketBuffer 8 9 func getPacketBuffer() *packetBuffer { 10 return quic.GetPacketBuffer() 11 } 12 13 func getLargePacketBuffer() *packetBuffer { 14 return quic.GetLargePacketBuffer() 15 }