woodpecker/vendor/github.com/lucas-clemente/quic-go/frames/frame.go
2017-07-24 19:15:25 -04:00

13 lines
261 B
Go

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)
}