forked from quic-go/quic-go
refactor frame parsing into a separate struct
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
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
|
||||
Length(version protocol.VersionNumber) protocol.ByteCount
|
||||
}
|
||||
Reference in New Issue
Block a user