github.com/danielpfeifer02/quic-go-prio-packs@v0.41.0-28/internal/wire/interface.go (about)

     1  package wire
     2  
     3  import (
     4  	"github.com/danielpfeifer02/quic-go-prio-packs/internal/protocol"
     5  )
     6  
     7  // A Frame in QUIC
     8  type Frame interface {
     9  	Append(b []byte, version protocol.Version) ([]byte, error)
    10  	Length(version protocol.Version) protocol.ByteCount
    11  }