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

14 lines
261 B
Go
Raw Normal View History

2017-12-12 02:51:45 +00:00
package frames
import (
"bytes"
"github.com/lucas-clemente/quic-go/protocol"
)
// A Frame in QUIC
type Frame interface {
Write(b *bytes.Buffer, version protocol.VersionNumber) error
MinLength(version protocol.VersionNumber) (protocol.ByteCount, error)
}