github.com/apernet/quic-go@v0.43.1-0.20240515053213-5e9e635fd9f0/internal/wire/interface.go (about) 1 package wire 2 3 import ( 4 "github.com/apernet/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 }