uquic/frames/frame.go

13 lines
258 B
Go

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