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

14 lines
259 B
Go
Raw Normal View History

2018-01-03 19:19:49 +00:00
package wire
2017-12-12 02:51:45 +00:00
import (
"bytes"
2018-01-03 19:19:49 +00:00
"github.com/lucas-clemente/quic-go/internal/protocol"
2017-12-12 02:51:45 +00:00
)
// A Frame in QUIC
type Frame interface {
Write(b *bytes.Buffer, version protocol.VersionNumber) error
2018-01-20 18:07:01 +00:00
MinLength(version protocol.VersionNumber) protocol.ByteCount
2017-12-12 02:51:45 +00:00
}