route/vendor/github.com/lucas-clemente/quic-go/internal/wire/frame.go

14 lines
259 B
Go

package wire
import (
"bytes"
"github.com/lucas-clemente/quic-go/internal/protocol"
)
// A Frame in QUIC
type Frame interface {
Write(b *bytes.Buffer, version protocol.VersionNumber) error
MinLength(version protocol.VersionNumber) protocol.ByteCount
}