mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-05 21:27:35 +03:00
remove PacketNumberLen from Frame interface Write method
This commit is contained in:
parent
060df6be7d
commit
aaf4b0ae9e
18 changed files with 59 additions and 59 deletions
|
@ -21,7 +21,7 @@ type AckFrame struct {
|
|||
}
|
||||
|
||||
// Write writes an ACK frame.
|
||||
func (f *AckFrame) Write(b *bytes.Buffer, packetNumber protocol.PacketNumber, packetNumberLen protocol.PacketNumberLen, version protocol.VersionNumber) error {
|
||||
func (f *AckFrame) Write(b *bytes.Buffer, packetNumber protocol.PacketNumber, version protocol.VersionNumber) error {
|
||||
typeByte := uint8(0x40 | 0x0C)
|
||||
|
||||
if f.HasNACK() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue