forked from quic-go/quic-go
use ByteCount type for Frame, Packet and PublicHeader lengths
This commit is contained in:
@@ -28,6 +28,6 @@ func (f *PingFrame) Write(b *bytes.Buffer, packetNumber protocol.PacketNumber, p
|
||||
}
|
||||
|
||||
// MinLength of a written frame
|
||||
func (f *PingFrame) MinLength() int {
|
||||
func (f *PingFrame) MinLength() protocol.ByteCount {
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user