فهرست منبع

Clarify the expected return value of ajustLength

Vlad Hanciuta 8 سال پیش
والد
کامیت
371165d592
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      packet_encoder.go

+ 1 - 0
packet_encoder.go

@@ -58,5 +58,6 @@ type dynamicPushEncoder interface {
 	pushEncoder
 
 	// Called during pop() to adjust the length of the field.
+	// It should return the difference in bytes between the last computed length and current length.
 	adjustLength(currOffset int) int
 }