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