rename frame.MaxLength() to frame.MinLength()

This commit is contained in:
Marten Seemann
2016-04-26 17:02:00 +07:00
parent 8f221e6eab
commit f204b088a6
11 changed files with 25 additions and 25 deletions

View File

@@ -30,8 +30,8 @@ func (f *StopWaitingFrame) Write(b *bytes.Buffer, packetNumber protocol.PacketNu
return nil
}
// MaxLength of a written frame
func (f *StopWaitingFrame) MaxLength() int {
// MinLength of a written frame
func (f *StopWaitingFrame) MinLength() int {
return 1 + 1 + 6
}