github.com/daeuniverse/quic-go@v0.0.0-20240413031024-943f218e0810/internal/wire/interface.go (about)

     1  package wire
     2  
     3  import (
     4  	"github.com/daeuniverse/quic-go/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  }