introduce PacketNumberLen type

This commit is contained in:
Marten Seemann 2016-05-09 17:31:12 +07:00
parent a141c31c69
commit e8ba73f275
19 changed files with 61 additions and 46 deletions

View file

@ -14,7 +14,7 @@ type WindowUpdateFrame struct {
}
//Write writes a RST_STREAM frame
func (f *WindowUpdateFrame) Write(b *bytes.Buffer, packetNumber protocol.PacketNumber, packetNumberLen uint8) error {
func (f *WindowUpdateFrame) Write(b *bytes.Buffer, packetNumber protocol.PacketNumber, packetNumberLen protocol.PacketNumberLen) error {
panic("WindowUpdateFrame: Write not yet implemented")
}