change congestion to use protocol.ByteCount

fixes #52
This commit is contained in:
Lucas Clemente
2016-05-05 01:41:34 +02:00
parent 321370e2f3
commit d178a02ad8
10 changed files with 61 additions and 57 deletions

View File

@@ -4,7 +4,7 @@ import "github.com/lucas-clemente/quic-go/protocol"
type PacketInfo struct {
Number protocol.PacketNumber
Length uint64
Length protocol.ByteCount
}
type PacketVector []PacketInfo